forked from joejulian/gio
apps/gophers: update to latest gio version and use Modifiers.Contain
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -183,7 +183,7 @@ func (a *App) run() error {
|
||||
case key.NameEscape:
|
||||
os.Exit(0)
|
||||
case 'P':
|
||||
if e.Modifiers&key.ModCommand != 0 {
|
||||
if e.Modifiers.Contain(key.ModCommand) {
|
||||
a.w.Profiling = !a.w.Profiling
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user