1{-# LANGUAGE OverloadedStrings #-}
9import Data.Aeson ((.=))
10import qualified Data.Aeson as Json
34merge :: Region -> Region -> Region
35merge (Region start _) (Region _ end) =
43instance Json.ToJSON Region where
44 toJSON (Region start end) =
51instance Json.ToJSON Position where
52 toJSON (Position line column) =
63instance Binary Region where
65 Region <$> get <*> get
67 put (Region start end) =
72instance Binary Position where
74 Position <$> get <*> get
76 put (Position line column) =
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