From 436a1d4012553a2f33d0e3a5180b3b5ae0378bdd Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Fri, 23 Oct 2015 10:27:31 +0200 Subject: Interruptible requests ^C now works as expected: It interrupts API requests, input prompts and audio streaming. Timeouts have been removed. --- src/ui_readline.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ui_readline.h') diff --git a/src/ui_readline.h b/src/ui_readline.h index cf8ed52..f8221bc 100644 --- a/src/ui_readline.h +++ b/src/ui_readline.h @@ -27,10 +27,12 @@ THE SOFTWARE. #include #include +/* bitfield */ typedef enum { BAR_RL_DEFAULT = 0, BAR_RL_FULLRETURN = 1, /* return if buffer is full */ BAR_RL_NOECHO = 2, /* don't echo to stdout */ + BAR_RL_NOINT = 4, /* don’t change interrupted variable */ } BarReadlineFlags_t; typedef struct { -- cgit v1.2.3