Changeset 5e0acaa in mainline for uspace/lib/vt/include
- Timestamp:
- 2024-10-10T11:52:43Z (13 months ago)
- Branches:
- master
- Children:
- fb06afd8
- Parents:
- 5f5d375
- git-author:
- Jiri Svoboda <jiri@…> (2024-10-09 17:46:33)
- git-committer:
- Jiri Svoboda <jiri@…> (2024-10-10 11:52:43)
- File:
-
- 1 edited
-
uspace/lib/vt/include/vt/vt100.h (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/vt/include/vt/vt100.h
r5f5d375 r5e0acaa 37 37 #include <io/charfield.h> 38 38 #include <io/keycode.h> 39 #include <io/pos_event.h> 39 40 #include <ipc/common.h> 40 41 #include <uchar.h> … … 77 78 void (*flush)(void *); 78 79 void (*key)(void *, keymod_t, keycode_t, char); 80 void (*pos_event)(void *, pos_event_t *); 79 81 } vt100_cb_t; 80 82 … … 124 126 vts_1b5b33, 125 127 /** Prefix 1b 5b 36 */ 126 vts_1b5b36 128 vts_1b5b36, 129 /** Prefix 1b 5b 3c - mouse report */ 130 vts_1b5b3c 127 131 } vt100_state_t; 132 133 enum { 134 INNUM_MAX = 3 135 }; 128 136 129 137 /** VT100 instance */ … … 151 159 /** Input decoding state */ 152 160 vt100_state_t state; 161 /** Decoded numeric parameters */ 162 uint16_t innum[INNUM_MAX]; 163 /** Index of current numeric parameter */ 164 unsigned inncnt; 153 165 } vt100_t; 154 166 … … 170 182 extern void vt100_set_attr(vt100_t *, char_attrs_t); 171 183 extern void vt100_cursor_visibility(vt100_t *, bool); 184 extern void vt100_set_button_reporting(vt100_t *, bool); 172 185 extern void vt100_putuchar(vt100_t *, char32_t); 173 186 extern void vt100_flush(vt100_t *);
Note:
See TracChangeset
for help on using the changeset viewer.
