24 const float UPPER_WIN_FRAC = 0.75;
25 const float LOWER_WIN_FRAC = 1 - UPPER_WIN_FRAC;
26 const unsigned MAX_LINE = 26;
66 std::string line_buffer_;
void run_input(std::string &line)
grab a character and if there's a line to return it will be returned in line
provides a terminal GUI for a chat window (lower box to type and upper box to receive messages)...
void startup()
start the display
void post_message(unsigned id, const std::string &line)
add a message to the upper window (the chat log)
void cleanup()
end the display
void set_modem_id(unsigned id)
give the modem_id so we know how to label our messages