Skip to content

CMD+K breaks the statusline #139646

@JDevlieghere

Description

@JDevlieghere

Pressing CMD+K (CTRL-K) tells the terminal emulator to clear the scrollback buffer. This effectively moves up everything on screen so active line is at the top. This breaks the statusline, as it gets moved up, without lldb knowing about it and being given the chance to clear it. Based on what I can find online, this is handled by the terminal emulator and there's no way to intercept it from the inferior.

It seems like this is a problem even for applications using curses (like vim and htop). So maybe this is NTBF? Using CTRL-L does behave correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    lldbquestionA question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions