summaryrefslogtreecommitdiff
path: root/Meta/CMake
diff options
context:
space:
mode:
authorAnotherTest <ali.mpfard@gmail.com>2021-02-20 21:33:13 +0330
committerAndreas Kling <kling@serenityos.org>2021-02-20 22:28:23 +0100
commit074e2ffdfd0605be4083b594c007f321168c5eac (patch)
tree6cd01298a95915a0abeda9f15723c046bc0109b8 /Meta/CMake
parent101c6b01ed700bb721420a7d9f4319bff376fee1 (diff)
downloadserenity-074e2ffdfd0605be4083b594c007f321168c5eac.zip
LibLine: Avoid refreshing the entire line when inserting at the end
This patchset allows the editor to avoid redrawing the entire line when the changes cause no unrecoverable style updates, and are at the end of the line (this applies to most normal typing situations). Cases that this does not resolve: - When the cursor is not at the end of the buffer - When a display refresh changes the styles on the already-drawn parts of the line - When the prompt has not yet been drawn, or has somehow changed Fixes #5296.
Diffstat (limited to 'Meta/CMake')
-rw-r--r--Meta/CMake/all_the_debug_macros.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Meta/CMake/all_the_debug_macros.cmake b/Meta/CMake/all_the_debug_macros.cmake
index efe130a858..d399642d06 100644
--- a/Meta/CMake/all_the_debug_macros.cmake
+++ b/Meta/CMake/all_the_debug_macros.cmake
@@ -168,6 +168,7 @@ set(DEBUG_AUTOCOMPLETE ON)
set(FILE_WATCHER_DEBUG ON)
set(SYSCALL_1_DEBUG ON)
set(RSA_PARSE_DEBUG ON)
+set(LINE_EDITOR_DEBUG ON)
# False positive: DEBUG is a flag but it works differently.
# set(DEBUG ON)