mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-06 09:55:40 +00:00
apps/gophers: add explicit redraws
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -201,6 +201,7 @@ func (a *App) run() error {
|
||||
case 'P':
|
||||
if e.Modifiers.Contain(key.ModCommand) {
|
||||
a.w.Profiling = !a.w.Profiling
|
||||
a.w.Redraw()
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -227,6 +228,7 @@ func (a *App) run() error {
|
||||
if a.selectedUser != nil {
|
||||
a.selectedUser = nil
|
||||
e.Cancel = true
|
||||
a.w.Redraw()
|
||||
}
|
||||
}
|
||||
case app.DrawEvent:
|
||||
|
||||
Reference in New Issue
Block a user