Compare commits

...

1 Commits

Author SHA1 Message Date
Michael Bolin
f30c01c83e chore(tui): reduce noisy textarea key debug logging 2026-02-15 20:05:17 -08:00
2 changed files with 2 additions and 4 deletions

View File

@@ -15,8 +15,6 @@ path = "src/lib.rs"
[features]
# Enable vt100-based tests (emulator) when running with `--features vt100-tests`.
vt100-tests = []
# Gate verbose debug logging inside the TUI implementation.
debug-logs = []
[lints]
workspace = true

View File

@@ -487,8 +487,8 @@ impl TextArea {
self.move_cursor_to_end_of_line(true);
}
_o => {
#[cfg(feature = "debug-logs")]
tracing::debug!("Unhandled key event in TextArea: {:?}", _o);
#[cfg(debug_assertions)]
tracing::trace!("Unhandled key event in TextArea: {:?}", _o);
}
}
}