index
:
termo
master
term-string
origin/master
Terminal key input library
Přemysl Eric Janouch <p@janouch.name>
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
termkey.c
Commit message (
Expand
)
Author
Age
Files
Lines
*
Added many more key symbols and names + translations from terminfo
Paul LeoNerd Evans
2008-10-10
1
-0
/
+22
*
'int' might not be wide enough to hold any Unicode codepoint; use 'long'
Paul LeoNerd Evans
2008-10-10
1
-5
/
+5
*
Added some TODO notes about handling realloc() failures
Paul LeoNerd Evans
2008-10-09
1
-0
/
+2
*
Better free() tracking in constructor failure cases
Paul LeoNerd Evans
2008-10-09
1
-5
/
+16
*
Pass 'term' string into new_driver virtual method; have drivers sensitive to ...
Paul LeoNerd Evans
2008-10-09
1
-2
/
+4
*
Added initial attempt at a terminfo-driven driver
Paul LeoNerd Evans
2008-10-08
1
-0
/
+1
*
Moved all of the keynames out from driver-csi into termkey; where they belong
Paul LeoNerd Evans
2008-10-08
1
-0
/
+31
*
Register keynames using a more extensible internal array; easier to add new ones
Paul LeoNerd Evans
2008-10-08
1
-9
/
+21
*
Tiny bugfix to termkey.c's initialiser; actually handle multiple driver searc...
Paul LeoNerd Evans
2008-10-08
1
-0
/
+1
*
Pass an explicit 'force' parameter into driver's getkey rather than relying o...
Paul LeoNerd Evans
2008-10-08
1
-9
/
+2
*
Moved single byte and UTF-8 sequence recombiner out of driver-csi.c back into...
Paul LeoNerd Evans
2008-10-08
1
-1
/
+111
*
Moved all of the C0 registration and 'do_codepoint' logic out of driver-csi b...
Paul LeoNerd Evans
2008-10-08
1
-0
/
+116
*
s/eatbytes/eat_bytes/ - nicer API name
Paul LeoNerd Evans
2008-10-07
1
-3
/
+3
*
Moved 'eatbytes' back into core code, put a code ptr in the termkey struct as...
Paul LeoNerd Evans
2008-10-07
1
-0
/
+24
*
Support a list of potential backend drivers
Paul LeoNerd Evans
2008-10-07
1
-2
/
+17
*
Moved CSI key registration code to be private to CSI driver
Paul LeoNerd Evans
2008-10-06
1
-70
/
+0
*
Use vtable in driver to indirect calls to the CSI driver
Paul LeoNerd Evans
2008-10-06
1
-9
/
+5
*
Moved CSI-related code out of termkey.c into new driver-csi.c
Paul LeoNerd Evans
2008-10-06
1
-560
/
+12
*
Print Alt/Meta before Ctrl
Paul LeoNerd Evans
2008-10-06
1
-6
/
+6
*
Added TERMKEY_FORMAT_WRAPBRACKET
Paul LeoNerd Evans
2008-10-06
1
-0
/
+15
*
Added two more formatting options; CARETCTRL and ALTISMETA
Paul LeoNerd Evans
2008-10-06
1
-1
/
+18
*
snprint_key() now takes a bitmask format, not a single boolean
Paul LeoNerd Evans
2008-10-06
1
-1
/
+3
*
Added termkey_snprint_key() to render nice string outputs of key events
Paul LeoNerd Evans
2008-08-21
1
-0
/
+41
*
Reworked events to be type/code/mod rather than flags/code/mod; make F[n] key...
Paul LeoNerd Evans
2008-08-21
1
-136
/
+143
*
Preserve modifiers on XTerm's CSI 27 ~ modified Unicode sequence
Paul LeoNerd Evans
2008-02-23
1
-0
/
+2
*
Renamed describe_sym to get_keyname
Paul LeoNerd Evans
2008-02-23
1
-11
/
+11
*
Moved termios magic out of demo.c into termkey.c where it belongs
Paul LeoNerd Evans
2008-02-23
1
-0
/
+27
*
Implemented termkey_free()
Paul LeoNerd Evans
2008-02-23
1
-0
/
+9
*
More termios settings on startup, to ensure reporting of signal, flow control...
Paul LeoNerd Evans
2008-02-23
1
-2
/
+1
*
Make sure to initialise key->modifiers on unmodified CSIs
Paul LeoNerd Evans
2008-02-23
1
-0
/
+2
*
Rearranged Home/End keys to better suit rxvt's naming, note 1/4 are now Find/...
Paul LeoNerd Evans
2008-02-23
1
-2
/
+4
*
Recognise full CSIfuncs list of F1 to F20 keys
Paul LeoNerd Evans
2008-02-10
1
-0
/
+12
*
Bugfix for unknown CSIfuncs
Paul LeoNerd Evans
2008-02-10
1
-1
/
+1
*
Implement growing the buffer after input
Paul LeoNerd Evans
2008-02-10
1
-2
/
+5
*
More robust eatbytes() that guards against the buffer going negative, because...
Paul LeoNerd Evans
2008-02-10
1
-4
/
+5
*
Implement waittime polling to try to distinguish Esc, 1 from A-1, etc.. on sl...
Paul LeoNerd Evans
2008-02-10
1
-11
/
+89
*
Have 'termkey_advisereadable' return a value indicating if it's likely useful...
Paul LeoNerd Evans
2008-02-10
1
-4
/
+9
*
Avoid a memmove() every character by storing an intial offset for the input b...
Paul LeoNerd Evans
2008-02-10
1
-23
/
+39
*
Allow registered keyinfo for C0/CSI/SS3/CSIfunc to override modifier bits; us...
Paul LeoNerd Evans
2008-02-10
1
-27
/
+70
*
Also register 0x0d as another version of the ENTER key
Paul LeoNerd Evans
2008-02-10
1
-0
/
+1
*
Interpret XTerm's CSI 27 ~ as modified generic key, report keypresses as appr...
Paul LeoNerd Evans
2008-02-10
1
-3
/
+9
*
Move most functionallity from getkey to 'do_codepoint()'
Paul LeoNerd Evans
2008-02-10
1
-141
/
+102
*
Bugfix to fill_utf8() to make it actually work right
Paul LeoNerd Evans
2008-02-10
1
-2
/
+3
*
Allow C0 codes to be registered names like the CSI/SS3s
Paul LeoNerd Evans
2008-02-10
1
-13
/
+29
*
Define an 'int' typedef called termkey_keysym to use as keysym values
Paul LeoNerd Evans
2008-02-10
1
-9
/
+9
*
Avoid use of GLib; use fixed-size internal arrays for CSI/SS3->keycode lookup
Paul LeoNerd Evans
2008-02-10
1
-50
/
+61
*
Interpret 8bit SS3/CSI codes and remaining C1s as C-A-letter
Paul LeoNerd Evans
2008-02-10
1
-2
/
+17
*
Handle (normal cases) of UTF-8 - still doesn't handle C1/UTF-8 range yet
Paul LeoNerd Evans
2008-02-09
1
-1
/
+167
*
Cope correctly with EOF
Paul LeoNerd Evans
2008-02-09
1
-1
/
+4
*
Replaced custom arg1/arg2 CSI parser with generic arg[16] one
Paul LeoNerd Evans
2008-02-07
1
-22
/
+34
[next]