Mon Jul 3 12:50:00 PDT 2000 Michael Jennings <mej@eterm.org>
I think this --pause mechanism will be agreeable to everyone. You can once again exit with any key (well, any key that has an actual character/string associated with it by X...not Insert, Home, etc.), but keys Eterm uses (like Shift-PgUp) will still work as expected. SVN revision: 2902
This commit is contained in:
parent
db2f3e7394
commit
b4fbe2a9a0
|
@ -3743,3 +3743,11 @@ Mon Jul 3 12:17:53 PDT 2000 Michael Jennings <mej@eterm.org>
|
|||
user.cfg wins).
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Mon Jul 3 12:50:00 PDT 2000 Michael Jennings <mej@eterm.org>
|
||||
|
||||
I think this --pause mechanism will be agreeable to everyone. You can
|
||||
once again exit with any key (well, any key that has an actual
|
||||
character/string associated with it by X...not Insert, Home, etc.),
|
||||
but keys Eterm uses (like Shift-PgUp) will still work as expected.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
|
|
@ -383,10 +383,9 @@ lookup_key(XEvent * ev)
|
|||
}
|
||||
|
||||
/* At this point, all the keystrokes that have special meaning to us have been handled.
|
||||
If we're in pause mode, this is a keystroke we need to ignore. Just return here. */
|
||||
If we're in pause mode, this is a keystroke asking us to exit. Otherwise, return here. */
|
||||
if (paused) {
|
||||
/* Allow ESC or Ctrl-C to exit. */
|
||||
if ((keysym == XK_Escape) || ((ctrl) && ((keysym == XK_C) || (keysym == XK_c)))) {
|
||||
if (keysym && len) {
|
||||
exit(0);
|
||||
}
|
||||
LK_RET();
|
||||
|
|
Loading…
Reference in New Issue