diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-08-16 14:57:39 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-08-16 14:57:39 +0000 |
| commit | b4f868e566954e6844bd74754782d0aca8bf4631 (patch) | |
| tree | e6d076f9697188aa850857ed2aa471fedb48f999 /terminal.h | |
| parent | csi: implement CSI ? Pm s - XTSAVE (diff) | |
csi: xtsave: store modes' SET state, not the current state
Diffstat (limited to 'terminal.h')
| -rw-r--r-- | terminal.h | 25 |
1 files changed, 14 insertions, 11 deletions
@@ -246,24 +246,27 @@ struct terminal { bool eight_bit; } meta; - /* Saved DECSET modes */ + /* Saved DECSET modes - we save the SET state */ struct { - enum cursor_origin origin; - enum cursor_keys cursor_keys_mode; - //enum keypad_keys keypad_keys_mode; + bool origin; + bool application_cursor_keys; bool reverse; - bool hide_cursor; + bool show_cursor; bool auto_margin; + //bool cursor_blink; bool insert_mode; bool bracketed_paste; bool focus_events; bool alt_scrolling; - enum mouse_tracking mouse_tracking; - enum mouse_reporting mouse_reporting; - struct { - bool esc_prefix; - bool eight_bit; - } meta; + //bool mouse_x10; + bool mouse_click; + bool mouse_drag; + bool mouse_motion; + //bool mouse_utf8; + bool mouse_sgr; + bool mouse_urxvt; + bool meta_eight_bit; + bool meta_esc_prefix; bool alt_screen; } xtsave; |
