TUI: permission prompt, /diff review, /stats dashboard, lens/context/MCP side panel
This commit is contained in:
1 parent
4a8e920ab8
commit
5fd7044a2f
15 files changed
+945
-2
No files matched your search
@@ -133,7 +133,9 @@ impl Picker {
|
||||
let th = theme::t();
|
||||
let a = f.area();
|
||||
// scales with the terminal: 60% of the width, 50..=110 cols, never wider than the screen
|
||||
let w = (a.width * 6 / 10).clamp(50, 110).min(a.width.saturating_sub(4));
|
||||
let w = (a.width * 6 / 10)
|
||||
.clamp(50, 110)
|
||||
.min(a.width.saturating_sub(4));
|
||||
let ms = self.matches();
|
||||
// borders + query line + spacer
|
||||
let h = (ms.len() as u16 + 4)
|
||||
|
||||
Reference in new issue
Block a user