mirror of
https://seed.radicle.dev/rad:z39mP9rQAaGmERfUMPULfPUi473tY.git
synced 2026-11-21 02:20:48 +08:00
lib: Remove incorrect fullscreen hack
This commit is contained in:
+1
-2
@@ -95,8 +95,7 @@ impl<W: Write> ratatui::backend::Backend for TermionBackendExt<W> {
|
||||
pub fn setup(height: usize) -> anyhow::Result<Terminal<Backend>> {
|
||||
let stdout = io::stdout().into_raw_mode()?;
|
||||
let options = TerminalOptions {
|
||||
// viewport: Viewport::Inline(height as u16),
|
||||
viewport: Viewport::Fullscreen,
|
||||
viewport: Viewport::Inline(height as u16),
|
||||
};
|
||||
|
||||
Ok(Terminal::with_options(
|
||||
|
||||
Reference in New Issue
Block a user