Scroll improvements

This commit is contained in:
2026-07-23 00:40:58 +02:00
parent b76a1f9aed
commit ad84145f12
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ impl Widget for ScrollText {
impl<const N: usize> ScrollState<N> {
pub fn get_selected(&self, index: usize) -> &'static str {
if index == self.0 { "\x1b[32m" } else { "" }
if index == self.0 { "\x1b[4m\x1b[1m" } else { "\x1b[1m" }
}
pub fn scroll(&self, index: usize, title: String, text: String) -> ScrollText {