|
@ -370,7 +370,8 @@ keypress(XKeyEvent *ev) { |
|
|
puts((sel && !(ev->state & ShiftMask)) ? sel->text : text); |
|
|
puts((sel && !(ev->state & ShiftMask)) ? sel->text : text); |
|
|
if(!(ev->state & ControlMask)) |
|
|
if(!(ev->state & ControlMask)) |
|
|
exit(EXIT_SUCCESS); |
|
|
exit(EXIT_SUCCESS); |
|
|
sel->out = True; |
|
|
|
|
|
|
|
|
if(sel) |
|
|
|
|
|
sel->out = True; |
|
|
break; |
|
|
break; |
|
|
case XK_Right: |
|
|
case XK_Right: |
|
|
if(text[cursor] != '\0') { |
|
|
if(text[cursor] != '\0') { |
|
|