diff options
author | Michael Jennings <mej@kainx.org> | 2000-07-03 19:33:55 +0000 |
---|---|---|
committer | Michael Jennings <mej@kainx.org> | 2000-07-03 19:33:55 +0000 |
commit | b4fbe2a9a048fb995cf41f68c192b30057072c26 (patch) | |
tree | a502ee6c6ec2950822d2816d57042c52651bf803 /src | |
parent | db2f3e7394d6f95435579bd9acad9cd9a727ed4d (diff) | |
download | eterm-b4fbe2a9a048fb995cf41f68c192b30057072c26.tar.gz |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/term.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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(); |