[all-commits] [llvm/llvm-project] 618e8b: [lldb] Avoid unnecessary statusline redraw in Hand...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Wed Mar 26 23:35:59 PDT 2025


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

  Changed paths:
    M lldb/source/Core/Debugger.cpp

  Log Message:
  -----------
  [lldb] Avoid unnecessary statusline redraw in HandleProgressEvent

There's no need to call RedrawStatusline from HandleProgressEvent. The
statusline gets redraw after handling all events, including progress
events, in the default event handler loop.


  Commit: 55b95151d2a618b12156730962e109b3d5fa67b1
      https://github.com/llvm/llvm-project/commit/55b95151d2a618b12156730962e109b3d5fa67b1
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2025-03-26 (Wed, 26 Mar 2025)

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

  Log Message:
  -----------
  [lldb] Avoid flickering by not clearing the statusline when redrawing

When redrawing the statusline, the current implementation would clear
the current line before drawing the new content. Since we always
overwrite the whole statusline from beginning to end, there's no need to
clear it and we can avoid the potential for flickering.


Compare: https://github.com/llvm/llvm-project/compare/80f216db530e...55b95151d2a6

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