From 9f0ef4953d153aaed45166050797e97545b96954 Mon Sep 17 00:00:00 2001 From: Paul LeoNerd Evans Date: Wed, 23 Mar 2011 23:20:24 +0000 Subject: Don't steal Ctrl-C from the kernel by default (so leave SIGINT enabled); add a flag to take it if required --- termkey.h.in | 1 + 1 file changed, 1 insertion(+) (limited to 'termkey.h.in') diff --git a/termkey.h.in b/termkey.h.in index 8e3cad1..0cfbb52 100644 --- a/termkey.h.in +++ b/termkey.h.in @@ -139,6 +139,7 @@ enum { TERMKEY_FLAG_UTF8 = 1 << 3, // Input is definitely UTF-8 TERMKEY_FLAG_NOTERMIOS = 1 << 4, // Do not make initial termios calls on construction TERMKEY_FLAG_SPACESYMBOL = 1 << 5, // Space is symbolic rather than Unicode + TERMKEY_FLAG_CTRLC = 1 << 6, // Allow Ctrl-C to be read as normal, disabling SIGINT }; void termkey_check_version(int major, int minor); -- cgit v1.2.3