[all-commits] [llvm/llvm-project] 2f75f6: [lldb] Take a sledgehammer approach to resizing th...
Jonas Devlieghere via All-commits
all-commits at lists.llvm.org
Thu Jul 3 10:22:10 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2f75f658b18aed4bbcab391063bceb7ccaf8a6ec
https://github.com/llvm/llvm-project/commit/2f75f658b18aed4bbcab391063bceb7ccaf8a6ec
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2025-07-03 (Thu, 03 Jul 2025)
Changed paths:
M lldb/include/lldb/Core/Statusline.h
M lldb/source/Core/Statusline.cpp
M lldb/test/API/functionalities/statusline/TestStatusline.py
Log Message:
-----------
[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
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list