clean
This commit is contained in:
parent
b170053f06
commit
f4809653ab
1 changed files with 0 additions and 4 deletions
|
@ -147,11 +147,7 @@ getKey = do
|
||||||
forkGetChar mvar = do
|
forkGetChar mvar = do
|
||||||
hSetEcho stdin False
|
hSetEcho stdin False
|
||||||
cs <- (: []) <$> hGetChar stdin
|
cs <- (: []) <$> hGetChar stdin
|
||||||
-- cs <- whileM
|
|
||||||
-- (not <$> hIsEOF stdin)
|
|
||||||
-- (hGetChar stdin)
|
|
||||||
hSetEcho stdin True
|
hSetEcho stdin True
|
||||||
-- putStrLn cs
|
|
||||||
when (not (null cs)) $ do
|
when (not (null cs)) $ do
|
||||||
_ <- putMVar mvar (head cs)
|
_ <- putMVar mvar (head cs)
|
||||||
return ()
|
return ()
|
||||||
|
|
Loading…
Reference in a new issue