aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorGravatar Benjamin Barenblat <bbarenblat@gmail.com>2021-12-26 15:57:13 -0500
committerGravatar Benjamin Barenblat <bbarenblat@gmail.com>2021-12-26 15:57:13 -0500
commit4590204701232f3bee50daf69a0d3e62b026c648 (patch)
tree5d7ad9da3f97f51b37b6331b8c57d02030c21280 /scripts
parent56f7d79efdc8ad26f5e8e5508eb616144f04fea3 (diff)
goldfishterm: Don’t hard-code std::cout/STDOUT_FILENOHEADmain
Make terminal-handling code purer by requiring the user pass TERM, a termios struct, and an appropriate ostream rather than querying them from the environment. This eliminates some error-handling code and makes duplicate syscalls less likely.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions