summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2025-01-06 00:46:06 +0100
committerRoland Reichwein <mail@reichwein.it>2025-01-06 00:46:06 +0100
commit3683789a25d118f9a82bd1c7eae36af82b9f499d (patch)
treec4a439794f70921425f4c667421831869554cdb4
parent0dd9b216bf98c0504e039f7d71b0cae7493f4f2c (diff)
Cleanup
-rw-r--r--UI.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/UI.cpp b/UI.cpp
index 3a896a0..9fdb10c 100644
--- a/UI.cpp
+++ b/UI.cpp
@@ -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();