| 119 | } |
| 120 | |
| 121 | void redraw_input_line(const std::string& prompt, const std::string& line) { |
| 122 | std::cout << "\r" << prompt << line << "\x1b[K" << std::flush; |
| 123 | } |
| 124 | |
| 125 | class RawTerminalGuard { |
| 126 | public: |
no outgoing calls
no test coverage detected