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

master
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
1 changed files with 0 additions and 1 deletions

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)
}