summaryrefslogtreecommitdiff
path: root/src/vte.h
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin@src.gnome.org>2003-05-29 04:50:48 +0000
committerNalin Dahyabhai <nalin@src.gnome.org>2003-05-29 04:50:48 +0000
commit8de1e351b857e2ad8131bce4780cf24a75c694bc (patch)
tree6bd0659f72eb00c74bdd511d4c0275cce13f57c7 /src/vte.h
parentfe6545d62d857fed89f471d938213c9a88d64546 (diff)
handle control characters in the middle of control sequences. fix origin
* src/vte.c(vte_terminal_process_incoming): handle control characters in the middle of control sequences. * src/vte.c(vte_sequence_handler_cm): fix origin mode. * src/vte.c(vte_sequence_handler_cv): fix origin mode. * src/vte.c(vte_sequence_handler_cs): snap the cursor to the scrolling region which is set. * src/table.c(_vte_table_extract_number): extract a number digit by digit as we do in the trie parser. * src/vte.h: declare 'struct vte_char_attributes' again to restore API back compat with 0.10.x. * src/iso2022.c(_vte_iso2022_sequence_length): don't recognize PM messages -- Xterm doesn't do anything with them and we don't want to appear to hang when we're really just waiting for the end of the message.
Diffstat (limited to 'src/vte.h')
-rw-r--r--src/vte.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/vte.h b/src/vte.h
index bf5de62..26d8131 100644
--- a/src/vte.h
+++ b/src/vte.h
@@ -121,6 +121,13 @@ struct _VteCharAttributes {
};
typedef struct _VteCharAttributes VteCharAttributes;
+/* The name of the same structure in the 0.10 series, for API compatibility. */
+struct vte_char_attributes {
+ long row, column;
+ GdkColor fore, back;
+ gboolean underline:1, strikethrough:1;
+};
+
/* The widget's type. */
GtkType vte_terminal_get_type(void);
GtkType vte_terminal_erase_binding_get_type(void);