Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | goldfishterm: Don’t hard-code std::cout/STDOUT_FILENOHEADmain | Benjamin Barenblat | 2021-12-26 |
| | | | | | | | 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. | ||
* | Throw errno failures with std::system_category | Benjamin Barenblat | 2021-12-26 |
| | |||
* | Hide cursor during redraws | Benjamin Barenblat | 2021-12-26 |
| | |||
* | Add a missing std::move | Benjamin Barenblat | 2021-12-26 |
| | |||
* | Don’t hard-code escape sequences | Benjamin Barenblat | 2021-12-26 |
| | | | | | | | Instead of hard-coding VT100-compatible escape sequences, parse the system terminfo database and read escape sequences from it. This is both more flexible (it should work well on more terminals) and more efficient (it won’t insert padding on terminals that don’t need it). | ||
* | EC, a terminal-based RPN calculator | Benjamin Barenblat | 2021-12-14 |