mirror of
https://git.aramjonghu.dev/AramJonghu/rustlings.git
synced 2026-09-01 07:53:30 +02:00
Lower the maximum scroll padding
This commit is contained in:
+1
-1
@@ -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];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user