You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tui-rs/examples
Florian Dehau 23d5fbde56 refactor(examples): remove exit key from Events handler
The thread spawned by `Events` to listen for keyboard inputs had knowlegde of
the exit key to exit on its own when it was pressed. It is however a source of
confusion (#491) because the exit behavior is wired in both the event handler
and the input handling performed by the app. In addition, this is not needed as
the thread will exit anyway when the main thread finishes as it is already the
case for the "tick" thread. Therefore, this commit removes both the option to
configure the exit key in the `Events` handler and the option to temporarily
ignore it.
3 years ago
..
demo feat(examples): add third tab to demo to show colors 3 years ago
util refactor(examples): remove exit key from Events handler 3 years ago
barchart.rs refactor: implement cascading styles 4 years ago
block.rs feat(block): add option to center and right align the title (#462) 3 years ago
canvas.rs refactor(examples): remove unecessary `terminal.hide_cursor` calls 4 years ago
chart.rs refactor: implement cascading styles 4 years ago
crossterm_demo.rs Update crossterm to 0.19. 3 years ago
curses_demo.rs feat(terminal): Add after-draw() cursor control to Frame (#91) (#309) 4 years ago
custom_widget.rs feat(terminal): Add after-draw() cursor control to Frame (#91) (#309) 4 years ago
gauge.rs refactor(widgets/gauge): stop using unicode blocks by default 4 years ago
layout.rs refactor(examples): remove unecessary `terminal.hide_cursor` calls 4 years ago
list.rs doc(examples): Add comments to "list" example and fix list direction (#425) 4 years ago
paragraph.rs refactor: implement cascading styles 4 years ago
popup.rs refactor: implement cascading styles 4 years ago
rustbox_demo.rs refactor(examples): remove unecessary `terminal.hide_cursor` calls 4 years ago
sparkline.rs refactor(examples): remove unecessary `terminal.hide_cursor` calls 4 years ago
table.rs refactor(widgets/table): more flexible table 4 years ago
tabs.rs refactor: implement cascading styles 4 years ago
termion_demo.rs refactor(examples): remove unecessary `terminal.hide_cursor` calls 4 years ago
user_input.rs refactor(examples): remove exit key from Events handler 3 years ago