diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2016-12-12 06:50:39 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2016-12-23 18:28:54 +0100 |
commit | af2e629be4d20dda334a7c6ca817f5599956e4ff (patch) | |
tree | f6c67f44df2ef665472f773c199ec6f30d5e50c9 /config | |
parent | f1bfd055a7f461fd6c3770b28d08b922838ee6b0 (diff) | |
download | rneovim-af2e629be4d20dda334a7c6ca817f5599956e4ff.tar.gz rneovim-af2e629be4d20dda334a7c6ca817f5599956e4ff.tar.bz2 rneovim-af2e629be4d20dda334a7c6ca817f5599956e4ff.zip |
tui: check stty/termios for kbs
Requires libtermkey 0.19+
Closes #2048
Closes #5693
See https://github.com/neovim/libtermkey/compare/a9b61424aae9f7548162ff112393c5f706cf54f1%5E...c0eb4e4a05f49ad8fee0195c77f2c29d09cc36af
See https://bugzilla.redhat.com/show_bug.cgi?id=142659
See https://github.com/tmux/tmux/blob/fe4e9470bb504357d073320f5d305b22663ee3fd/tty-keys.c#L625-L632
Diffstat (limited to 'config')
-rw-r--r-- | config/CMakeLists.txt | 2 | ||||
-rw-r--r-- | config/config.h.in | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/config/CMakeLists.txt b/config/CMakeLists.txt index a16000aba8..47683b198c 100644 --- a/config/CMakeLists.txt +++ b/config/CMakeLists.txt @@ -26,6 +26,8 @@ if(NOT HAVE_SYS_WAIT_H AND UNIX) message(SEND_ERROR "header sys/wait.h is required for Unix") endif() check_include_files(sys/utsname.h HAVE_SYS_UTSNAME_H) +check_include_files(termio.h HAVE_TERMIO_H) +check_include_files(termios.h HAVE_TERMIOS_H) check_include_files(utime.h HAVE_UTIME_H) check_include_files(sys/uio.h HAVE_SYS_UIO_H) diff --git a/config/config.h.in b/config/config.h.in index 4c35b3b1cb..e70c30e17c 100644 --- a/config/config.h.in +++ b/config/config.h.in @@ -43,6 +43,8 @@ #cmakedefine HAVE_STRNCASECMP #cmakedefine HAVE_SYS_UTSNAME_H #cmakedefine HAVE_SYS_WAIT_H +#cmakedefine HAVE_TERMIO_H +#cmakedefine HAVE_TERMIOS_H #cmakedefine HAVE_UTIME #cmakedefine HAVE_UTIME_H #cmakedefine HAVE_UTIMES |