Note "d" for debug (#4882)

* Note "d" for debug

* Fix layout
This commit is contained in:
Craig authored and GitHub committed 2025-11-05 15:08:29 -03:00
1 parent 85d58d3a48
commit 2117c3d4e9
1 file changed
+4 -3
+4 -3
View File
@@ -33,7 +33,7 @@ use super::AppServer;
const TICK_RATE_MS: u64 = 100;
const VIEWPORT_MAX_WIDTH: u16 = 90;
const VIEWPORT_HEIGHT_SMALL: u16 = 5;
const VIEWPORT_HEIGHT_BIG: u16 = 13;
const VIEWPORT_HEIGHT_BIG: u16 = 14;
/// The TUI that drives the console output.
///
@@ -849,11 +849,12 @@ impl Output {
"o: open the app",
"p: pause rebuilds",
"v: toggle verbose logs",
"t: toggle tracing logs ",
"t: toggle tracing logs",
"c: clear the screen",
"d: attach debugger",
"/: toggle more commands",
];
let layout: [_; 8] = Layout::vertical(cmds.iter().map(|_| Constraint::Length(1)))
let layout: [_; 9] = Layout::vertical(cmds.iter().map(|_| Constraint::Length(1)))
.horizontal_margin(1)
.areas(col2);
for (idx, cmd) in cmds.iter().enumerate() {