libzypp: zypp-tui/utils/console.cc File Reference

libzypp 17.36.6

Namespaces | Functions
console.cc File Reference

Miscellaneous console utilities. More...

`#include <unistd.h>`
`#include <cstdlib>`
`#include <fstream>`
`#include <iostream>`
`#include <readline/readline.h>`
`#include <readline/history.h>`

Go to the source code of this file.

## Namespaces
namespace | ztui

## Functions
std::string | ztui::readline_getline ()
| Use readline to get line of input.
unsigned | ztui::get_screen_width ()
| Reads COLUMNS environment variable or gets the screen width from readline, in that order.
void | ztui::clear_keyboard_buffer ()
| Clear the keyboard buffer.

## Detailed Description

Miscellaneous console utilities.

Definition in file console.cc.