1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
#pragma once #include <termios.h> #include <string> #include "line/type.h" using namespace std; // TODO: remove namespace ov4 { inline termios attr; inline bool raw_enabled = false; void disable_raw(); void enable_raw(); void clear_below(); std::string readline(); }