From 3683789a25d118f9a82bd1c7eae36af82b9f499d Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Mon, 6 Jan 2025 00:46:06 +0100 Subject: Cleanup --- UI.cpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'UI.cpp') 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 cpuloads = get_cpu_loads(); -- cgit v1.2.3