This commit is contained in:
2025-01-06 01:05:56 +00:00
parent e5cbac480e
commit c20486fc34
6 changed files with 19 additions and 94 deletions
-4
View File
@@ -287,10 +287,6 @@ updateSection indent mcsel sis availablelines oldoffset =
, _ssIndent = indent
}
where
--shownitems = take availablelines allstrings
--shownitems = tweakfirst $ allstrings
--shownitems = tweakfirst $ allstrings
shownitems'' = tweakfirst $ take availablelines shownstrings
shownitems = tweakfirst . tweaklast $ take availablelines shownstrings
oldoffsetbounded = max 0 . min oldoffset $ aslength - availablelines
offset = fromMaybe oldoffsetbounded $ do