18#include <readline/readline.h>
19#include <readline/history.h>
32 if (
char *
line_read = ::readline(
"zypper> " ) )
77 std::ifstream
stm(
"/dev/tty" );
79 while (
stm.good() &&
stm.readsome(
s, 8));
Reference counted access to a Tp object calling a custom Dispose function when the last AutoDispose h...
std::string readline_getline()
Use readline to get line of input.
unsigned get_screen_width()
Reads COLUMNS environment variable or gets the screen width from readline, in that order.
void clear_keyboard_buffer()
Clear the keyboard buffer.