<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Mar 18, 2017 at 7:57 PM, Ben Franksen <span dir="ltr"><<a href="mailto:ben.franksen@online.de" target="_blank">ben.franksen@online.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div id="gmail-:1ud" class="gmail-a3s gmail-aXjCH gmail-m15ae3dc0d6cb6d7a">As long as you leave control over these things to the terminal, yes. But<br>
what if your program wants to control that itself? E.g. react to<br>
keystrokes, rather than edited lines, as the OP seemed to want?</div></blockquote></div><br><a href="https://downloads.haskell.org/~ghc/8.0.2/docs/html/libraries/unix-2.7.2.1/System-Posix-Terminal.html">https://downloads.haskell.org/~ghc/8.0.2/docs/html/libraries/unix-2.7.2.1/System-Posix-Terminal.html</a></div><div class="gmail_extra"><br></div><div class="gmail_extra">Admittedly some wrappers would be nice... but with care, lest you reproduce the same issues stack is having.<br><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>brandon s allbery kf8nh                               sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a>                                  <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div><div>unix, openafs, kerberos, infrastructure, xmonad        <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div></div></div>
</div></div>