diff options
author | tomsmeding <tom.smeding@gmail.com> | 2017-05-25 17:37:48 +0200 |
---|---|---|
committer | tomsmeding <tom.smeding@gmail.com> | 2017-05-25 17:37:48 +0200 |
commit | 03b3893fc87c35edabc33a2c533e479e69da76fe (patch) | |
tree | d37f6da9203a5ae1e1ba053b1401ead1115218b2 | |
parent | ed813ac55310dfb1fbc391bcfbce7d5e44c64114 (diff) |
Flush stdout on getchar
-rw-r--r-- | rip.hs | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -270,6 +270,7 @@ rip' code@(x:xs) fns conns st = do rip' xs fns conns (tail st) 'g' -> do + hFlush stdout n <- liftM (maybe (-1) ord) safeGetChar rip' xs fns conns (fromIntegral n : st) |