Skip to content

Commit 396dee3

Browse files
committed
increase minimum terminal size
1 parent d91f2da commit 396dee3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ And everyone's favourite:
2424
## Notes
2525

2626
- Tested on Windows Terminal (Powershell), not sure about other terminals.
27-
- Larger terminals look better; a minimum of ~100x80 is recommended.
27+
- Larger terminals look better; a minimum of 100 columns x 80 rows is recommended.
2828
- A cache file is created to speed up subsequent runs of the same video.
2929
- Add --regenerate to force rebuilding the ASCII cache for that video.

src/main.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,13 @@ fn run_app() -> Result<(), AppError> {
6161

6262
let terminal_size = TerminalManager::get_size()?;
6363
log::info!("Terminal size: {}x{}", terminal_size.0, terminal_size.1);
64-
if terminal_size.0 < 30 || terminal_size.1 < 20 {
64+
if terminal_size.0 < 100 || terminal_size.1 < 80 {
6565
log::warn!(
6666
"Terminal size ({},{}) is smaller than recommended ({},{}). Playback might be suboptimal.",
6767
terminal_size.0,
6868
terminal_size.1,
69-
30,
70-
20
69+
100,
70+
80
7171
);
7272
}
7373

0 commit comments

Comments
 (0)