aboutsummaryrefslogtreecommitdiff
path: root/src/client/input.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/input.rs')
-rw-r--r--src/client/input.rs7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/client/input.rs b/src/client/input.rs
index 848d0156..41850f96 100644
--- a/src/client/input.rs
+++ b/src/client/input.rs
@@ -327,13 +327,18 @@ fn windows_stdin_reader_loop(
should_quit: &Arc<AtomicBool>,
) {
if !super::windows_vti_input_backend_enabled() {
+ windows_vti::trace_input_transport("reader=crossterm");
windows_crossterm_reader_loop(event_tx, should_quit);
} else {
match windows_vti::console_input_handle() {
Ok(handle) => {
+ windows_vti::trace_input_transport("reader=windows-console");
windows_vti::raw_console_reader_loop(handle, event_tx, should_quit);
}
- _ => windows_crossterm_reader_loop(event_tx, should_quit),
+ _ => {
+ windows_vti::trace_input_transport("reader=crossterm-fallback");
+ windows_crossterm_reader_loop(event_tx, should_quit);
+ }
}
}
}