summaryrefslogtreecommitdiffstats
path: root/Action.hs
diff options
context:
space:
mode:
authorKierán Meinhardt <kieran.meinhardt@gmail.com>2020-09-22 23:40:00 +0200
committerKierán Meinhardt <kieran.meinhardt@gmail.com>2020-09-23 00:10:07 +0200
commitca8439b6787eb238d7b07544dfc728488f3c71b6 (patch)
tree0f812affaa5c569248ee2c1c7e8b39c6e8a405c7 /Action.hs
parent121d703bcd3ecbaba031499070907251b5eae1a9 (diff)
lint
Diffstat (limited to 'Action.hs')
-rw-r--r--Action.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/Action.hs b/Action.hs
index 7ca023d..95bc7ca 100644
--- a/Action.hs
+++ b/Action.hs
@@ -193,9 +193,8 @@ topOverrun State{..} =
botOverrun :: State -> Int
botOverrun State{..} =
- max 0 (linearPos cursor - yoffset - (screenHeight - (length headBuffer) - 1))
+ max 0 (linearPos cursor - yoffset - (screenHeight - length headBuffer - 1))
setSubForest :: Tree.Forest a -> Tree.Tree a -> Tree.Tree a
setSubForest sf t = t { Tree.subForest = sf }
-