tweaks: join two lines, and add a clarifying comment
parent
dda9d4e357
commit
6ed0a12d80
|
@ -59,8 +59,7 @@ extern int controlleft, controlright;
|
|||
extern int controlup, controldown;
|
||||
extern int controlhome, controlend;
|
||||
#ifndef NANO_TINY
|
||||
extern int controldelete;
|
||||
extern int controlshiftdelete;
|
||||
extern int controldelete, controlshiftdelete;
|
||||
extern int shiftleft, shiftright;
|
||||
extern int shiftup, shiftdown;
|
||||
extern int shiftcontrolleft, shiftcontrolright;
|
||||
|
|
|
@ -601,6 +601,7 @@ int parse_kbinput(WINDOW *win)
|
|||
* Shift/Ctrl/Alt are being held together with them. */
|
||||
unsigned char modifiers = 6;
|
||||
|
||||
/* Modifiers are: Alt (8), Ctrl (4), Shift (1). */
|
||||
if (on_a_vt && ioctl(0, TIOCLINUX, &modifiers) >= 0) {
|
||||
#ifndef NANO_TINY
|
||||
/* Is Shift being held? */
|
||||
|
|
Loading…
Reference in New Issue