From cb8229edc65b8eb6e85932efcfbc6f1c44196a39 Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 4 Jan 2015 14:39:55 +0100 Subject: renderTreeView: renderPrefix --- test5.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test5.hs') 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) -- cgit v1.2.3