mirror of
https://github.com/openai/codex.git
synced 2026-04-24 06:35:50 +00:00
chore(tui): reduce noisy textarea key debug logging
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user