3Description : Utilities for Pretty Printing.
6Maintainer : The Idris Community.
9{-# LANGUAGE MultiParamTypeClasses #-}
12 module Text.PrettyPrint.Annotated.Leijen
18--import Text.PrettyPrint.HughesPJ
19import Text.PrettyPrint.Annotated.Leijen
21-- A rough notion of size for pretty printing various types.
25instance (Sized a, Sized b) => Sized (a, b) where
26 size (left, right) = 1 + size left + size right
28instance Sized a => Sized [a] where
34class Pretty a ty where
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