Skip to content

Dynamic display of InfoBar messages #3986

@past-gen

Description

@past-gen

Description

Personally, I find the info bar mostly an eyesore. Either it's spams with generic actions logging, taking up space unnecessarily, or it keeps displaying that stale latest message even when it's no longer relevant. And for this reason, I prefer to keep it hidden.

However, sometimes seeing a single timely warning can become a real life timesaver, and there's no way around it. Yet.

Thus, I'd like to suggest an alternative approach, or rather optional improvements to the current one, since not everyone may agree with me on this:

  • Desired behavior:

    wezterm-gui_ya7cygKM7Z.mp4
  • Desired implementation (names are merely placeholders):

    • infobell: option sets the minimal level of verbosity (Message, Warning, Error, Plugin etc.) that triggers the display of the InfoBar
    • infobell.timeout: how long to display InfoBar in ms; renew the timer if currently shown and/or the message's being updated
    • infobell: "" or infobell.timeout: 0 means keep it hidden unconditionally
    • only relevant when infobar: false
    • ? inherit the behavior pattern of the prompt where it overlaps the status bar instead of toggling the info panel every time, as long as the prompt still has the higher priority
    • ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions