chiark / gitweb /
Set up ratatui and demonstrate event handling.
authorSimon Tatham <anakin@pobox.com>
Sat, 23 Dec 2023 14:16:22 +0000 (14:16 +0000)
committerSimon Tatham <anakin@pobox.com>
Sat, 23 Dec 2023 14:16:22 +0000 (14:16 +0000)
commit46e824468a077f3c35f267e70a04d412cce4a29f
treeaa099e98ab3fd866463d4f0a19c8f095f5599489
parente91b8c815f062bcf145e71ef2086a367a1cebbf4
Set up ratatui and demonstrate event handling.

I've had to put the event-reading in another thread, because I
couldn't see any way to tie extra fds into ratatui's poll loop. So
instead I'm going to have to make subthreads communicate to the main
loop via an interthread channel.
Cargo.toml
src/main.rs