mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
38d4c655d3
The code that manipulates the ncurses backend into changing the key combination to generate SIGINT from CTRL-c to CTRL-g does so by accessing undocumented internal ncurses data structures. This breaks compilation with netbsd-curses[0], and could also break when the ncurses author decides to change internal structures in a future release. Fix it by using a portable approach that works everywhere using libc primitives instead. [0] https://github.com/sabotage-linux/netbsd-curses Signed-off-by: Andrew Borodin <aborodin@vmail.ru> |
||
---|---|---|
.. | ||
color-internal.c | ||
color-internal.h | ||
color-ncurses.c | ||
color-slang.c | ||
color-slang.h | ||
color.c | ||
color.h | ||
key.c | ||
key.h | ||
keyxdef.c | ||
Makefile.am | ||
mouse.c | ||
mouse.h | ||
tty-internal.h | ||
tty-ncurses.c | ||
tty-ncurses.h | ||
tty-slang.c | ||
tty-slang.h | ||
tty.c | ||
tty.h | ||
win.c | ||
win.h | ||
x11conn.c | ||
x11conn.h |