diff options
author | Jesse Luehrs <doy@tozt.net> | 2021-03-09 02:53:24 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2021-03-09 02:56:10 -0500 |
commit | 0cf66f816712e8e8adb941fff57823625611370a (patch) | |
tree | e6e2ac14a754084a8d7cf719e8d37c1a88d6d84e /examples/tmux.rs | |
parent | 4fc328e1dfb79a2cba14f603a5dd175d6029f30f (diff) | |
download | textmode-0cf66f816712e8e8adb941fff57823625611370a.tar.gz textmode-0cf66f816712e8e8adb941fff57823625611370a.zip |
handle errors properly in raw guard
Diffstat (limited to 'examples/tmux.rs')
-rw-r--r-- | examples/tmux.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/tmux.rs b/examples/tmux.rs index 490a22b..d5969e3 100644 --- a/examples/tmux.rs +++ b/examples/tmux.rs @@ -303,7 +303,7 @@ struct Tmux { impl Tmux { async fn new() -> Self { - let (input, _raw) = textmode::Input::new(); + let (input, _raw) = textmode::Input::new().unwrap(); let (tm, _screen) = textmode::Output::new().await.unwrap(); let state = State::new(); Self { |