[all-commits] [llvm/llvm-project] aa889e: [lldb] Fix statusline terminal resizing

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Mon Mar 31 23:59:03 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: aa889ed129ff26d9341c50a9eaba4db728ca6212
      https://github.com/llvm/llvm-project/commit/aa889ed129ff26d9341c50a9eaba4db728ca6212
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2025-03-31 (Mon, 31 Mar 2025)

  Changed paths:
    M lldb/include/lldb/Core/Statusline.h
    M lldb/source/Core/Statusline.cpp

  Log Message:
  -----------
  [lldb] Fix statusline terminal resizing

Simplify and fix the logic to clear the old statusline when the terminal
window dimensions have changed. I accidentally broke the terminal
resizing behavior when addressing code review feedback.

I'd really like to figure out a way to test this. PExpect isn't a good
fit for this, because I really need to check the result, rather than the
control characters, as the latter doesn't tell me whether any part of
the old statusline is still visible.



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