Implement refresh on ctrl-r and close on ctrl-w

This commit is contained in:
2024-08-10 19:22:19 +02:00
parent 80fb660677
commit 3118069297
5 changed files with 38 additions and 10 deletions

6
app.go
View File

@@ -2,6 +2,7 @@ package main
import (
"context"
"os"
)
// App struct
@@ -135,3 +136,8 @@ func (a *App) SetSetting(key string, value int64) WailsGenericAck {
}
return WailsGenericAck{Success: true}
}
//region other
func (a *App) Close() {
os.Exit(0)
}