user: remove dead scroll state from thalamus and unconscious screens

Both had scroll: u16 fields that were never connected to any key
handling or rendering. The unconscious screen renders fixed-size
graph health gauges; thalamus builds a paragraph but never scrolled
it. Neither needs scroll state.

Co-Authored-By: Kent Overstreet <kent.overstreet@gmail.com>
This commit is contained in:
ProofOfConcept 2026-04-11 01:31:20 -04:00 committed by Kent Overstreet
parent 2d6a68048c
commit 2230fdf3c1
3 changed files with 9 additions and 21 deletions

View file

@ -102,7 +102,10 @@ pub fn tree_legend() -> Line<'static> {
)
}
/// Render a paragraph with a vertical scrollbar.
/// Render a scrollable paragraph with a vertical scrollbar.
///
/// Legacy wrapper — callers that manage their own `u16` scroll offset
/// use this. For new code, prefer ScrollPane + ScrollPaneState.
pub fn render_scrollable(
frame: &mut Frame,
area: Rect,