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
|
||||
hSetEcho stdin False
|
||||
cs <- (: []) <$> hGetChar stdin
|
||||
-- cs <- whileM
|
||||
-- (not <$> hIsEOF stdin)
|
||||
-- (hGetChar stdin)
|
||||
hSetEcho stdin True
|
||||
-- putStrLn cs
|
||||
when (not (null cs)) $ do
|
||||
_ <- putMVar mvar (head cs)
|
||||
return ()
|
||||
|
|
Loading…
Reference in a new issue