From 5ac9b5c9f14ffdda3c7c1ca6fe64ad00b8f5d02a Mon Sep 17 00:00:00 2001 From: Mikey <15002903+familyfriendlymikey@users.noreply.github.com> Date: Tue, 7 Jun 2022 23:36:22 -0700 Subject: [PATCH] term.ui: don't print event data in readme example (vlang#14719) (#14720) --- vlib/term/ui/README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/vlib/term/ui/README.md b/vlib/term/ui/README.md index 31a2b50ee3..d5c7f3f0c9 100644 --- a/vlib/term/ui/README.md +++ b/vlib/term/ui/README.md @@ -13,7 +13,6 @@ mut: } fn event(e &tui.Event, x voidptr) { - println(e) if e.typ == .key_down && e.code == .escape { exit(0) }