[all-commits] [llvm/llvm-project] fc0e8f: [lldb][gui] truncate long lines/names if needed
Luboš Luňák via All-commits
all-commits at lists.llvm.org
Wed Aug 5 23:41:09 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: fc0e8fb7874a73277b221e3f940b749cdd0a99d7
https://github.com/llvm/llvm-project/commit/fc0e8fb7874a73277b221e3f940b749cdd0a99d7
Author: Luboš Luňák <l.lunak at centrum.cz>
Date: 2020-08-06 (Thu, 06 Aug 2020)
Changed paths:
M lldb/source/Core/IOHandlerCursesGUI.cpp
A lldb/test/API/commands/gui/viewlarge/Makefile
A lldb/test/API/commands/gui/viewlarge/TestGuiViewLarge.py
A lldb/test/API/commands/gui/viewlarge/main.c
Log Message:
-----------
[lldb][gui] truncate long lines/names if needed
Without this, sources with long lines or variable names may overwrite
panel frames, or even overrun to the following line. There's currently
no way to scroll left/right in the views, so that should be added
to handle these cases.
This commit includes fixing constness of some Window functions,
and also makes PutCStringTruncated() consistent with the added
printf-like variant to take the padding as the first argument (can't
add it after the format to the printf-like function).
Differential Revision: https://reviews.llvm.org/D85123
More information about the All-commits
mailing list