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

term.ui: don't print event data in readme example (vlang#14719) (#14720)

This commit is contained in:
Mikey 2022-06-07 23:36:22 -07:00 committed by GitHub
parent 4b3c3d9082
commit 5ac9b5c9f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,7 +13,6 @@ mut:
}
fn event(e &tui.Event, x voidptr) {
println(e)
if e.typ == .key_down && e.code == .escape {
exit(0)
}