1import Control.Applicative ((<|>))
2import Control.Concurrent (myThreadId, threadDelay)
3import Control.Monad.IO.Class (liftIO)
4import System.IO (stdout, hSetBuffering, BufferMode(LineBuffering))
5import System.Random (randomIO)
9 liftIO $ hSetBuffering stdout LineBuffering
10 x <- loop "A" <|> loop "B"
11 liftIO $ myThreadId >>= putStr . show
18 liftIO $ threadDelay 1000000
19 rnd <- liftIO (randomIO :: IO Int)
20 return (name, rnd) <|> loop name
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