cleaning up

mine
derailed 2019-06-20 12:00:12 -06:00
parent 7fe489cf02
commit cabe586797
2 changed files with 4 additions and 5 deletions

View File

@ -300,7 +300,6 @@ func (a *appView) activateCmd(evt *tcell.EventKey) *tcell.EventKey {
return evt
}
a.flash().info("Command mode activated.")
log.Debug().Msg("Entering command mode...")
a.cmdBuff.setActive(true)
a.cmdBuff.clear()
return nil
@ -331,12 +330,8 @@ func (a *appView) aliasCmd(evt *tcell.EventKey) *tcell.EventKey {
if a.inCmdMode() {
return evt
}
a.inject(newAliasView(a, a.currentView()))
return nil
}
func noopCmd(*tcell.EventKey) *tcell.EventKey {
return nil
}

View File

@ -241,3 +241,7 @@ func (v *dumpView) getDetails() *detailsView {
}
return nil
}
func noopCmd(*tcell.EventKey) *tcell.EventKey {
return nil
}