[all-commits] [llvm/llvm-project] 9aef31: [lldb] Add SBDebugger::SetTerminalDimensions to se...
Jonas Devlieghere via All-commits
all-commits at lists.llvm.org
Sat Jun 6 09:26:53 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9aef31502094e2b5c997683a6d624aaf39f5bd50
https://github.com/llvm/llvm-project/commit/9aef31502094e2b5c997683a6d624aaf39f5bd50
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2026-06-06 (Sat, 06 Jun 2026)
Changed paths:
M lldb/include/lldb/API/SBDebugger.h
M lldb/include/lldb/Core/Debugger.h
M lldb/source/API/SBDebugger.cpp
M lldb/source/Core/Debugger.cpp
M lldb/test/API/python_api/debugger/TestDebuggerAPI.py
M lldb/tools/driver/Driver.cpp
Log Message:
-----------
[lldb] Add SBDebugger::SetTerminalDimensions to set width and height atomically (#201965)
Terminal width and height were communicated to the debugger separately,
via SetTerminalWidth() and SetTerminalHeight(). Each notified the
IOHandler and the statusline, so on a resize they recomputed their
layout twice: once with one dimension updated and the other still stale.
Add Debugger::SetTerminalDimensions(width, height) (exposed through
SBDebugger) that updates both properties before notifying, and
reimplement the single-axis setters and the driver's resize handler in
terms of it.
Also fix SBDebugger::GetTerminalHeight(), which returned the width.
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