Skip to content

Commit

Permalink
Add support for the key combination 'Shift-Tab'.
Browse files Browse the repository at this point in the history
  • Loading branch information
IepIweidieng committed Jan 25, 2019
1 parent 5f16be6 commit 8b93439
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions include/global.h
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@
#define KEY_DOWN 0x0102
#define KEY_RIGHT 0x0103
#define KEY_LEFT 0x0104
#define KEY_STAB 0X0109 /* Shift-Tab */
#define KEY_HOME 0x0201
#define KEY_INS 0x0202
#define KEY_DEL 0x0203
Expand Down
2 changes: 2 additions & 0 deletions maple/visio.c
Original file line number Diff line number Diff line change
Expand Up @@ -2256,6 +2256,8 @@ vkey(void)
else
return ch;
}
else if (ch == 'Z') /* Shift-Tab */
return KEY_STAB;
else if (ch >= '1' && ch <= '6')
mode = 3;
else
Expand Down

0 comments on commit 8b93439

Please sign in to comment.