diff options
Diffstat (limited to 'UI.cpp')
-rw-r--r-- | UI.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -84,16 +84,6 @@ bool UI::key_available() { return stdin_available() || m_touchpad.event_available(); } -int read_key() { - char buf[1]; - int got = read(0, buf, 1); - if (got != 1) { - log_cout << "Bad input size: " << std::to_string(got) << std::endl; - } - - return buf[0]; -} - void UI::draw() { std::vector<int> cpuloads = get_cpu_loads(); |