diff options
author | Dave Davenport <qball@gmpclient.org> | 2016-07-25 11:32:30 +0200 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2016-07-25 11:32:30 +0200 |
commit | fe230eb95c2b3c212596cda6077bf65d03607543 (patch) | |
tree | d25404321cc1160969d7245cdcfe99ec73d22899 /include | |
parent | dd8f09dab822b81c04d02a6c67716cf1e5489a76 (diff) |
Fix #432, Control+k removes till eol.
Diffstat (limited to 'include')
-rw-r--r-- | include/keyb.h | 2 | ||||
-rw-r--r-- | include/textbox.h | 20 |
2 files changed, 12 insertions, 10 deletions
diff --git a/include/keyb.h b/include/keyb.h index 7fee420a..a375d08c 100644 --- a/include/keyb.h +++ b/include/keyb.h @@ -35,6 +35,8 @@ typedef enum REMOVE_CHAR_FORWARD, /** Remove previous character */ REMOVE_CHAR_BACK, + /** Remove till EOL */ + REMOVE_TO_EOL, /** Accept the current selected entry */ ACCEPT_ENTRY, ACCEPT_ALT, diff --git a/include/textbox.h b/include/textbox.h index 94c981be..898f0ac4 100644 --- a/include/textbox.h +++ b/include/textbox.h @@ -39,16 +39,16 @@ typedef struct typedef enum { - TB_AUTOHEIGHT = 1 << 0, - TB_AUTOWIDTH = 1 << 1, - TB_LEFT = 1 << 16, - TB_RIGHT = 1 << 17, - TB_CENTER = 1 << 18, - TB_EDITABLE = 1 << 19, - TB_MARKUP = 1 << 20, - TB_WRAP = 1 << 21, - TB_PASSWORD = 1 << 22, - TB_INDICATOR = 1 << 23, + TB_AUTOHEIGHT = 1 << 0, + TB_AUTOWIDTH = 1 << 1, + TB_LEFT = 1 << 16, + TB_RIGHT = 1 << 17, + TB_CENTER = 1 << 18, + TB_EDITABLE = 1 << 19, + TB_MARKUP = 1 << 20, + TB_WRAP = 1 << 21, + TB_PASSWORD = 1 << 22, + TB_INDICATOR = 1 << 23, } TextboxFlags; typedef enum |