diff options
author | Roland Reichwein <mail@reichwein.it> | 2025-01-06 00:46:06 +0100 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2025-01-06 00:46:06 +0100 |
commit | 3683789a25d118f9a82bd1c7eae36af82b9f499d (patch) | |
tree | c4a439794f70921425f4c667421831869554cdb4 | |
parent | 0dd9b216bf98c0504e039f7d71b0cae7493f4f2c (diff) |
Cleanup
-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(); |