summaryrefslogtreecommitdiffstats
path: root/src/userintf.h
diff options
context:
space:
mode:
authorLuboš Doležel <lubos@dolezel.info>2020-02-23 09:41:45 +0100
committerGitHub <noreply@github.com>2020-02-23 09:41:45 +0100
commit3ce3b15b3337a43fa199c4f0d3e5693cf8eaaecf (patch)
tree282a8f5a40fcf2b5848070b11e37c82236c0acc8 /src/userintf.h
parent0d2fb40624e6d35a043409cb0fd3dedf7a7e10a7 (diff)
parent18f2b023bc2c1ea84e7690b604c196580ac8f110 (diff)
downloadtwinkle-3ce3b15b3337a43fa199c4f0d3e5693cf8eaaecf.tar
twinkle-3ce3b15b3337a43fa199c4f0d3e5693cf8eaaecf.tar.gz
twinkle-3ce3b15b3337a43fa199c4f0d3e5693cf8eaaecf.tar.lz
twinkle-3ce3b15b3337a43fa199c4f0d3e5693cf8eaaecf.tar.xz
twinkle-3ce3b15b3337a43fa199c4f0d3e5693cf8eaaecf.zip
Merge pull request #144 from fbriere/issue/143-readline-blocks-cmd-quit
Respond immediately to a "quit" command while in CLI mode
Diffstat (limited to 'src/userintf.h')
-rw-r--r--src/userintf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/userintf.h b/src/userintf.h
index 48a4c50..2c6d96d 100644
--- a/src/userintf.h
+++ b/src/userintf.h
@@ -62,6 +62,7 @@ protected:
private:
bool end_interface; // indicates if interface loop should quit
+ int break_readline_loop_pipe[2]; // pipe used to interrupt Readline
list<string> all_commands; // list of all commands
t_tone_gen *tone_gen; // tone generator for ringing