Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | use posix-pty, and forward SIGWINCH | Joey Hess | 2017-04-13 |
| | | | | | | | | | | | | | | | | I discovered the posix-pty library while looking for a way to forward SIGWINCH to the slave pty. It's taken care of a lot of nasty pty handling details, so let's use it! Unfortunately, this broke control-d exiting debug-me, which used to work great. I think that the problem is that readPty never returns B.empty, even on control-d. Or perhaps, posix-pty is doing something to the pty that prevents control-d getting through. I kept all the withoutMode code; at least withoutMode EnableEcho is still needed. This commit was sponsored by Jochen Bartl on Patreon. | ||
* | update | Joey Hess | 2017-04-13 |
| | |||
* | todo updates | Joey Hess | 2017-04-13 |
| | | | | | | | Realized the added problem this morning. The pty reset code seems to be working now. Not sure what changed, but yay! | ||
* | waiting longer for more keypresses did not improve feel | Joey Hess | 2017-04-13 |
| | |||
* | latency simulations | Joey Hess | 2017-04-12 |
| | |||
* | note potential DOS in the code I just added | Joey Hess | 2017-04-12 |
| | |||
* | debug-me is able to run a shell in a slave pty | Joey Hess | 2017-04-11 |
Lots of terminal mode fun. Has a few warts still, but it works well enough to be comfortable, and even vim works ok. This commit was sponsored by John Peloquin on Patreon. |