We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d047fa commit 136418fCopy full SHA for 136418f
promkit/src/terminal.rs
@@ -61,12 +61,7 @@ impl Terminal {
61
.collect::<Vec<&Pane>>();
62
63
if height < viewable_panes.len() as u16 {
64
- return crossterm::execute!(
65
- io::stdout(),
66
- terminal::Clear(terminal::ClearType::FromCursorDown),
67
- style::Print("⚠️ Insufficient Space"),
68
- )
69
- .map_err(anyhow::Error::from);
+ return Err(anyhow::anyhow!("Insufficient space to display all panes"));
70
}
71
72
crossterm::queue!(
0 commit comments