term.ui: don't print event data in readme example (vlang#14719) (#14720)
parent
4b3c3d9082
commit
5ac9b5c9f1
|
@ -13,7 +13,6 @@ mut:
|
|||
}
|
||||
|
||||
fn event(e &tui.Event, x voidptr) {
|
||||
println(e)
|
||||
if e.typ == .key_down && e.code == .escape {
|
||||
exit(0)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue