aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2025-07-03 10:21:49 -0700
committerGitHub <noreply@github.com>2025-07-03 10:21:49 -0700
commit2f75f658b18aed4bbcab391063bceb7ccaf8a6ec (patch)
tree77b153cb179fe151a2013d68295d8e195354393c /clang/lib/CodeGen/CodeGenFunction.cpp
parent795b17d0b821e44f89d021dec18e9fdb28930ff6 (diff)
downloadllvm-2f75f658b18aed4bbcab391063bceb7ccaf8a6ec.zip
llvm-2f75f658b18aed4bbcab391063bceb7ccaf8a6ec.tar.gz
llvm-2f75f658b18aed4bbcab391063bceb7ccaf8a6ec.tar.bz2
[lldb] Take a sledgehammer approach to resizing the statusline (#146578)
Terminal resizing continues to be a source of statusline bugs, so much so that some users have started disabling it altogether. Different operating systems and terminal emulators exhibit subtly different behaviors, making it nearly impossible to handle resizing reliably across the board. This patch sidesteps those issues by clearing the entire screen when the terminal is resized. This avoids having to account for the previous, potentially wrapped statusline, the underlying cause of many of the aforementioned bugs. The obvious downside is that this clears the on-screen history, but I believe that’s a reasonable trade-off. Note that this only happens when resizing the terminal; when launching LLDB, the statusline is drawn without clearing the screen. rdar://154778410
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions