summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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();