2 module Text.PrettyPrint.Annotated.Leijen,
3 Sized(..), breakingSize, nestingSize,
7--import Text.PrettyPrint.HughesPJ
8import Text.PrettyPrint.Annotated.Leijen
10-- A rough notion of size for pretty printing various types.
14instance (Sized a, Sized b) => Sized (a, b) where
15 size (left, right) = 1 + size left + size right
17instance Sized a => Sized [a] where
20-- The maximum size before we break on to another line.
27class 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