Merge pull request #18009 from amosbird/clientfix

client SIGWINCH fix
This commit is contained in:
alexey-milovidov 2020-12-12 02:22:23 +03:00 committed by GitHub
commit 6bc3c8cc14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 2 deletions

View File

@ -58,6 +58,8 @@ ReplxxLineReader::ReplxxLineReader(
} }
} }
rx.install_window_change_handler();
auto callback = [&suggest] (const String & context, size_t context_size) auto callback = [&suggest] (const String & context, size_t context_size)
{ {
if (auto range = suggest.getCompletions(context, context_size)) if (auto range = suggest.getCompletions(context, context_size))

2
contrib/replxx vendored

@ -1 +1 @@
Subproject commit 8cf626c04e9a74313fb0b474cdbe2297c0f3cdc8 Subproject commit 254be98ae7f2fd92d6db768f8e11ea5a5226cbf5

View File

@ -53,7 +53,7 @@ if (NOT LIBRARY_REPLXX OR NOT INCLUDE_REPLXX OR NOT EXTERNAL_REPLXX_WORKS)
"${LIBRARY_DIR}/src/ConvertUTF.cpp" "${LIBRARY_DIR}/src/ConvertUTF.cpp"
"${LIBRARY_DIR}/src/escape.cxx" "${LIBRARY_DIR}/src/escape.cxx"
"${LIBRARY_DIR}/src/history.cxx" "${LIBRARY_DIR}/src/history.cxx"
"${LIBRARY_DIR}/src/io.cxx" "${LIBRARY_DIR}/src/terminal.cxx"
"${LIBRARY_DIR}/src/prompt.cxx" "${LIBRARY_DIR}/src/prompt.cxx"
"${LIBRARY_DIR}/src/replxx_impl.cxx" "${LIBRARY_DIR}/src/replxx_impl.cxx"
"${LIBRARY_DIR}/src/replxx.cxx" "${LIBRARY_DIR}/src/replxx.cxx"