[all-commits] [llvm/llvm-project] 3dfc1d: [lldb] Use the terminal height for paging editline...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Mon Dec 16 11:11:40 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3dfc1d9b0bc41eaf63e551ca357b44a71636b152
      https://github.com/llvm/llvm-project/commit/3dfc1d9b0bc41eaf63e551ca357b44a71636b152
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2024-12-16 (Mon, 16 Dec 2024)

  Changed paths:
    M lldb/include/lldb/API/SBDebugger.h
    M lldb/include/lldb/Core/Debugger.h
    M lldb/include/lldb/Host/Editline.h
    M lldb/source/API/SBDebugger.cpp
    M lldb/source/Core/CoreProperties.td
    M lldb/source/Core/Debugger.cpp
    M lldb/source/Host/common/Editline.cpp
    M lldb/test/API/functionalities/completion/TestCompletion.py
    M lldb/test/API/terminal/TestEditlineCompletions.py
    M lldb/tools/driver/Driver.cpp
    M lldb/tools/driver/Driver.h

  Log Message:
  -----------
  [lldb] Use the terminal height for paging editline completions (#119914)

Currently, we arbitrarily paginate editline completions to 40 elements.
On large terminals, that leaves some real-estate unused. On small
terminals, it's pretty annoying to not see the first completions. We can
address both issues by using the terminal height for pagination.

This builds on the improvements of #116456.



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