You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When opening a browser, GNOME things have a tendency to spew messages to stderr
which corrupts the gh-dash display. Nothing made it possible to get a display
which then restored the output, the entry area, etc.
A screen redraw command is useful for "something has happened, it shouldn't
have, we know it shouldn't have, but that's life, go ahead and redraw please".
This has traditionally been bound to Ctrl-L; but unlike #565 it
is not bound in this commit, leaving folks to opt-in via local configuration.
The bubbletea internals appear to have a `repaintMsg{}` but I couldn't figure
out how to just send that. The lightest-weight option I found was to batch
together `ExitAltScreen` and `EnterAltScreen`. This causes a very brief
flicker which ... is also traditional and I'm accepting it as "shows positive
feedback that the keystroke was acted upon" rather than a bug.
With this, `gh-dash` can be safely used to `o`pen issues in a browser without
then needing to quit and restart, because it offers a recovery mechanism.
0 commit comments