summaryrefslogtreecommitdiffstats
path: root/test5.hs
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2015-01-04 14:39:55 +0100
committertv <tv@shackspace.de>2015-01-04 14:39:55 +0100
commitcb8229edc65b8eb6e85932efcfbc6f1c44196a39 (patch)
tree13321b3be543e857949c1a39a6ff3f22106379cd /test5.hs
parent95d67c694aac052bef162eb0d07422ab575d94e5 (diff)
renderTreeView: renderPrefix
Diffstat (limited to 'test5.hs')
-rw-r--r--test5.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test5.hs b/test5.hs
index ffb168e..6f01838 100644
--- a/test5.hs
+++ b/test5.hs
@@ -177,7 +177,7 @@ render q@State{..} =
, headBuffer = newHeadBuf
}
where
- newTreeBuf = renderTreeView now (Z.label cursor) (Z.toTree cursor)
+ newTreeBuf = renderTreeView now cursor (Z.root cursor)
newHeadBuf =
[ Plain (show screenWidth) <> "x" <> Plain (show screenHeight)
<> " " <> Plain (show $ linearPos cursor - yoffset)