Skip to content

Crash if terminal resized to size unable to render widget #39

Description

@Craige

If the terminal is resize to a size unable to render the widget, the tclock crashes.

This wouldn't be a huge issue, if not for losing stopwatch data when it happens. It would be better to catch this case and just hide (or resize) the widget if possible.

(For me, this happens when I disconnect from my primary display and tmux shifts/resizes panes to fit the smaller display)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions