pressing q now quits out of the application

This commit is contained in:
aditya-K2 2021-10-24 01:33:20 +05:30
parent 930cc2b83f
commit 46d721ffb4

View File

@ -160,6 +160,11 @@ func main() {
UI.Navbar.Select(2, 0) UI.Navbar.Select(2, 0)
return nil return nil
} }
case 113: // q : Key
{
UI.App.Stop()
return nil
}
default: default:
{ {
return e return e