diff options
author | Joey Hess <joeyh@joeyh.name> | 2017-04-13 17:33:17 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2017-04-13 17:33:17 -0400 |
commit | 46b2bcef7ccf05e9e273c7ec3e8c3ed0a1cba85c (patch) | |
tree | 02d44bdf1284333785672a864af4e5e548b84c86 /Pty.hs | |
parent | de2aa41f0ecdea914c44601c4c015d5913f7b6bf (diff) | |
download | debug-me-46b2bcef7ccf05e9e273c7ec3e8c3ed0a1cba85c.tar.gz |
comment
Diffstat (limited to 'Pty.hs')
-rw-r--r-- | Pty.hs | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -22,6 +22,8 @@ runWithPty cmd params a = bracket setup cleanup go (p, ph) <- spawnWithPty Nothing True cmd params (maybe 80 Console.width sz, maybe 25 Console.height sz) _ <- installHandler windowChange (Catch (forwardresize p)) Nothing + -- Set the pty's terminal attributes to the same ones that + -- the outer terminal had. System.Posix.Pty.setTerminalAttributes p as Immediately -- This is similar to cfmakeraw(3). let masteras = as |