1-- A TCP client that reads from stdin and sends to a server
4import System.IO (stdin)
6import qualified Streamly.Prelude as S
7import qualified Streamly.FileSystem.File as File
8import qualified Streamly.Network.Socket as NS
12 openConnection >>= \sk ->
13 S.drain $ NS.writeArrays sk $ File.readArrays stdin
18 sock <- socket AF_INET Stream defaultProtocol
19 connect sock $ SockAddrInet 8090 (tupleToHostAddress (127,0,0,1))
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