Lower the maximum scroll padding

This commit is contained in:
mo8it 2024-08-25 23:54:18 +02:00
parent a1f0eaab54
commit 631f2db1a3

View file

@ -12,7 +12,7 @@ use std::{
use crate::{app_state::AppState, exercise::Exercise, term::progress_bar, MAX_EXERCISE_NAME_LEN}; 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. // +1 for column padding.
const SPACE: &[u8] = &[b' '; MAX_EXERCISE_NAME_LEN + 1]; const SPACE: &[u8] = &[b' '; MAX_EXERCISE_NAME_LEN + 1];