Refactor handling of TTOU so that instead of shuffling stderr to another file descriptor and using /dev/null when backgrounded, we set a flag to suspend terminal output, and perform all terminal writes through a new pv_tty_write function which checks that flag.

This commit is contained in:
Andrew Wood
2024-10-03 23:03:31 +01:00
parent 741e4b0b30
commit e84f47abc8
6 changed files with 55 additions and 77 deletions
+1
View File
@@ -4,6 +4,7 @@
* cleanup: removed TODO.md, since it's just an outdated copy of the issue tracker
* cleanup: re-ordered structure members to reduce padding
* cleanup: improved readability of SIGTTOU handling code
* cleanup: instead of moving stderr when backgrounded, set a suspend-output flag
### 1.8.14 - 7 September 2024