Skip to content

Commit

Permalink
term.ui: don't print event data in readme example (#14719) (#14720)
Browse files Browse the repository at this point in the history
  • Loading branch information
familyfriendlymikey committed Jun 8, 2022
1 parent 4b3c3d9 commit 5ac9b5c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion vlib/term/ui/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ mut:
}
fn event(e &tui.Event, x voidptr) {
println(e)
if e.typ == .key_down && e.code == .escape {
exit(0)
}
Expand Down

0 comments on commit 5ac9b5c

Please sign in to comment.