1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

examples: use app.gg.quit() instead of exit(0)

This commit is contained in:
Delyan Angelov
2021-11-11 17:45:22 +02:00
parent 9cb378bb6b
commit 4728b975e3
3 changed files with 3 additions and 3 deletions

View File

@@ -274,7 +274,7 @@ fn (mut app App) key_down(key gg.KeyCode) {
// global keys
match key {
.escape {
exit(0)
app.gg.quit()
}
._0 {
app.timer_period_ms = 0