mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-25 15:10:26 +00:00
Lower the maximum scroll padding
This commit is contained in:
parent
a1f0eaab54
commit
631f2db1a3
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ use std::{
|
|||
|
||||
use crate::{app_state::AppState, exercise::Exercise, term::progress_bar, MAX_EXERCISE_NAME_LEN};
|
||||
|
||||
const MAX_SCROLL_PADDING: usize = 8;
|
||||
const MAX_SCROLL_PADDING: usize = 5;
|
||||
// +1 for column padding.
|
||||
const SPACE: &[u8] = &[b' '; MAX_EXERCISE_NAME_LEN + 1];
|
||||
|
||||
|
|
Loading…
Reference in a new issue