1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-06-28 18:26:46 +02:00

Add ability to skip words in input field with ctrl-left/right arrow

This commit is contained in:
jfreegman
2020-10-10 11:21:15 -04:00
parent 015dbd9a96
commit 9c06ad608b
3 changed files with 61 additions and 5 deletions

View File

@ -71,6 +71,8 @@
#define T_KEY_C_W 0x17 /* ctrl-w */
#define T_KEY_C_B 0x02 /* ctrl-b */
#define T_KEY_C_T 0x14 /* ctrl-t */
#define T_KEY_C_LEFT 0x221 /* ctrl-left arrow */
#define T_KEY_C_RIGHT 0x230 /* ctrl-right arrow */
#define T_KEY_TAB 0x09 /* TAB key */
#define ONLINE_CHAR "*"