1module Util.String where
3import qualified Data.Text as T
5replace :: String -> String -> String -> String
6replace a b c = T.unpack (T.replace (T.pack a) (T.pack b) (T.pack c))
8escape :: String -> String
10 (replace "\n" "\\n") .
11 (replace "\t" "\\t") .
12 (replace "\"" "\\\"") .
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