1{-# LANGUAGE OverloadedStrings #-}
2module ProjectM36.WebSocketServer where
3import qualified Network.WebSockets as WS
6--add json derivation to RemoteCallTypes
7runServer :: WS.Connection -> IO ()
8runServer conn = forever $ handleRequest
10handleRequest :: WS.Connection -> IO ()
11handleRequest conn = do
12 dat <- WS.receiveData conn
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