Im-Beast / deno_tui

🦕 Deno module for creating Terminal User Interfaces
https://deno.land/x/tui
MIT License
266 stars 18 forks source link

bug: User input keys are removed after exiting TUI #14

Closed aapoalas closed 1 year ago

aapoalas commented 1 year ago

Bug description After running examples/demo.ts in bash and exiting using Ctrl+C, user input is sometimes not rendered after exiting.

Expected behavior Exiting TUI should happen cleanly and subsequent bash usage should not be disrupted.

Reproduction deno run examples/demo.ts should be enough. zsh does not exhibit the same issue.

Screenshots image Note how deno --version is printed even though no user input is visible.

Information (please complete)