From d15dfd9e7388ee84dd5dbf5c988b3f67c2e3d476 Mon Sep 17 00:00:00 2001 From: Green Sky Date: Tue, 7 Oct 2025 18:19:33 +0200 Subject: [PATCH] update imgui to v1.92.3 and enable wordwrapping for the main message input --- external/imgui/CMakeLists.txt | 3 ++- src/chat_gui4.cpp | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/external/imgui/CMakeLists.txt b/external/imgui/CMakeLists.txt index 67f38b1..460a675 100644 --- a/external/imgui/CMakeLists.txt +++ b/external/imgui/CMakeLists.txt @@ -11,7 +11,8 @@ if (NOT TARGET imgui) GIT_REPOSITORY https://github.com/ocornut/imgui.git #GIT_TAG f5befd2d29e66809cd1110a152e375a7f1981f06 # v1.91.9b #GIT_TAG 85b2fe8486190fa9326565a2fb5fccb6caea4396 # v1.92.0 - GIT_TAG 5d4126876bc10396d4c6511853ff10964414c776 # v1.92.1 + #GIT_TAG 5d4126876bc10396d4c6511853ff10964414c776 # v1.92.1 + GIT_TAG bf75bfec48fc00f532af8926130b70c0e26eb099 # v1.92.3 EXCLUDE_FROM_ALL ) diff --git a/src/chat_gui4.cpp b/src/chat_gui4.cpp index ece3164..afd7e98 100644 --- a/src/chat_gui4.cpp +++ b/src/chat_gui4.cpp @@ -483,7 +483,8 @@ float ChatGui4::render(float time_delta, bool window_hidden, bool window_focused constexpr ImGuiInputTextFlags input_flags = //ImGuiInputTextFlags_AllowTabInput | ImGuiInputTextFlags_NoHorizontalScroll | - ImGuiInputTextFlags_CallbackCharFilter; + ImGuiInputTextFlags_CallbackCharFilter | + ImGuiInputTextFlags_WordWrap; bool text_input_validate {false}; ImGui::InputTextMultiline(