no longer need to set cursor visibility
This commit is contained in:
parent
89077663ab
commit
2ff780695a
|
@ -1,6 +1,6 @@
|
||||||
diff -aur vte-0.32.2-old/src/vte.c vte-0.32.2/src/vte.c
|
diff -aur vte-0.32.2-old/src/vte.c vte-0.32.2/src/vte.c
|
||||||
--- vte-0.32.2-old/src/vte.c 2012-07-13 21:09:04.003969877 -0400
|
--- vte-0.32.2-old/src/vte.c 2012-07-13 21:09:04.003969877 -0400
|
||||||
+++ vte-0.32.2/src/vte.c 2012-08-30 04:11:30.827265668 -0400
|
+++ vte-0.32.2/src/vte.c 2012-08-30 04:30:04.285924831 -0400
|
||||||
@@ -129,7 +129,6 @@
|
@@ -129,7 +129,6 @@
|
||||||
gpointer data,
|
gpointer data,
|
||||||
GArray *attributes,
|
GArray *attributes,
|
||||||
|
@ -107,20 +107,7 @@ diff -aur vte-0.32.2-old/src/vte.c vte-0.32.2/src/vte.c
|
||||||
_vte_terminal_disconnect_pty_write(terminal);
|
_vte_terminal_disconnect_pty_write(terminal);
|
||||||
if (terminal->pvt->pty_channel != NULL) {
|
if (terminal->pvt->pty_channel != NULL) {
|
||||||
g_io_channel_unref (terminal->pvt->pty_channel);
|
g_io_channel_unref (terminal->pvt->pty_channel);
|
||||||
@@ -13641,6 +13662,12 @@
|
@@ -14384,7 +14405,7 @@
|
||||||
g_object_notify(G_OBJECT(terminal), "cursor-blink-mode");
|
|
||||||
}
|
|
||||||
|
|
||||||
+void
|
|
||||||
+vte_terminal_set_cursor_visible(VteTerminal *terminal, gboolean visible) {
|
|
||||||
+ g_return_if_fail(VTE_IS_TERMINAL(terminal));
|
|
||||||
+ terminal->pvt->cursor_visible = visible;
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
/**
|
|
||||||
* vte_terminal_get_cursor_blink_mode:
|
|
||||||
* @terminal: a #VteTerminal
|
|
||||||
@@ -14384,7 +14411,7 @@
|
|
||||||
g_object_freeze_notify(object);
|
g_object_freeze_notify(object);
|
||||||
|
|
||||||
if (pvt->pty != NULL) {
|
if (pvt->pty != NULL) {
|
||||||
|
@ -129,7 +116,7 @@ diff -aur vte-0.32.2-old/src/vte.c vte-0.32.2/src/vte.c
|
||||||
_vte_terminal_disconnect_pty_write(terminal);
|
_vte_terminal_disconnect_pty_write(terminal);
|
||||||
|
|
||||||
if (terminal->pvt->pty_channel != NULL) {
|
if (terminal->pvt->pty_channel != NULL) {
|
||||||
@@ -14440,7 +14467,7 @@
|
@@ -14440,7 +14461,7 @@
|
||||||
_vte_terminal_setup_utf8 (terminal);
|
_vte_terminal_setup_utf8 (terminal);
|
||||||
|
|
||||||
/* Open channels to listen for input on. */
|
/* Open channels to listen for input on. */
|
||||||
|
@ -138,7 +125,7 @@ diff -aur vte-0.32.2-old/src/vte.c vte-0.32.2/src/vte.c
|
||||||
|
|
||||||
g_object_notify(object, "pty");
|
g_object_notify(object, "pty");
|
||||||
g_object_notify(object, "pty-object");
|
g_object_notify(object, "pty-object");
|
||||||
@@ -14567,6 +14594,50 @@
|
@@ -14567,6 +14588,50 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -191,7 +178,7 @@ diff -aur vte-0.32.2-old/src/vte.c vte-0.32.2/src/vte.c
|
||||||
long start_col, long start_row,
|
long start_col, long start_row,
|
||||||
diff -aur vte-0.32.2-old/src/vte.h vte-0.32.2/src/vte.h
|
diff -aur vte-0.32.2-old/src/vte.h vte-0.32.2/src/vte.h
|
||||||
--- vte-0.32.2-old/src/vte.h 2012-07-13 21:09:04.003969877 -0400
|
--- vte-0.32.2-old/src/vte.h 2012-07-13 21:09:04.003969877 -0400
|
||||||
+++ vte-0.32.2/src/vte.h 2012-08-30 04:06:04.192768680 -0400
|
+++ vte-0.32.2/src/vte.h 2012-08-30 04:30:09.695999432 -0400
|
||||||
@@ -296,6 +296,15 @@
|
@@ -296,6 +296,15 @@
|
||||||
/* simple manipulation of selection */
|
/* simple manipulation of selection */
|
||||||
void vte_terminal_select_all(VteTerminal *terminal);
|
void vte_terminal_select_all(VteTerminal *terminal);
|
||||||
|
@ -208,17 +195,7 @@ diff -aur vte-0.32.2-old/src/vte.h vte-0.32.2/src/vte.h
|
||||||
|
|
||||||
/* Set the terminal's size. */
|
/* Set the terminal's size. */
|
||||||
void vte_terminal_set_size(VteTerminal *terminal,
|
void vte_terminal_set_size(VteTerminal *terminal,
|
||||||
@@ -364,6 +373,9 @@
|
@@ -435,6 +444,8 @@
|
||||||
gboolean transparent);
|
|
||||||
void vte_terminal_set_opacity(VteTerminal *terminal, guint16 opacity);
|
|
||||||
|
|
||||||
+/* Set whether the cursor is visible. */
|
|
||||||
+void vte_terminal_set_cursor_visible(VteTerminal *terminal, gboolean visible);
|
|
||||||
+
|
|
||||||
/* Set whether or not the cursor blinks. */
|
|
||||||
void vte_terminal_set_cursor_blink_mode(VteTerminal *terminal,
|
|
||||||
VteTerminalCursorBlinkMode mode);
|
|
||||||
@@ -435,6 +447,8 @@
|
|
||||||
GArray *attributes);
|
GArray *attributes);
|
||||||
void vte_terminal_get_cursor_position(VteTerminal *terminal,
|
void vte_terminal_get_cursor_position(VteTerminal *terminal,
|
||||||
glong *column, glong *row);
|
glong *column, glong *row);
|
||||||
|
@ -227,7 +204,7 @@ diff -aur vte-0.32.2-old/src/vte.h vte-0.32.2/src/vte.h
|
||||||
/* Display string matching: clear all matching expressions. */
|
/* Display string matching: clear all matching expressions. */
|
||||||
void vte_terminal_match_clear_all(VteTerminal *terminal);
|
void vte_terminal_match_clear_all(VteTerminal *terminal);
|
||||||
|
|
||||||
@@ -484,6 +498,7 @@
|
@@ -484,6 +495,7 @@
|
||||||
VtePty *vte_terminal_get_pty_object(VteTerminal *terminal);
|
VtePty *vte_terminal_get_pty_object(VteTerminal *terminal);
|
||||||
|
|
||||||
char *vte_get_user_shell (void);
|
char *vte_get_user_shell (void);
|
||||||
|
|
Loading…
Reference in New Issue