4import Graphics.Vty.Debug
11 (sx, sy) <- getSize vty
14play :: Vty -> Int -> Int -> IO ()
19 , pImage = box 10 10 }
26box :: Int -> Int -> Image
29 corner = renderChar attr '+'
30 vertLine = renderFill attr '|' 1 (h - 2)
31 horizLine = corner <|> renderHFill attr '-' (w - 2) <|> corner
32 centerArea = vertLine <|> renderFill attr 'X' (w - 2) (h - 2) <|> vertLine
34 horizLine <-> centerArea <-> horizLine
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list