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:
parent
4b3c3d9082
commit
5ac9b5c9f1
@ -13,7 +13,6 @@ mut:
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn event(e &tui.Event, x voidptr) {
|
fn event(e &tui.Event, x voidptr) {
|
||||||
println(e)
|
|
||||||
if e.typ == .key_down && e.code == .escape {
|
if e.typ == .key_down && e.code == .escape {
|
||||||
exit(0)
|
exit(0)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user