From 8c43b903ba2bd90e8e38feb70f0b40b551b48c21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jeromos=20Kov=C3=A1cs?= Date: Tue, 6 May 2025 20:53:32 +0200 Subject: [PATCH] fix(disable-raw/unix): termux wouldn't echo if simply cooked --- tui.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tui.hpp b/tui.hpp index 7904707..57ecfb2 100644 --- a/tui.hpp +++ b/tui.hpp @@ -108,6 +108,9 @@ namespace tui { if (system("stty cooked") != 0) { err(1, "couldn't set stty cooked"); } + if (system("stty echo") != 0) { + err(1, "couldn't set stty echo"); + } // struct termios term{}; // if (tcgetattr(STDIN_FILENO, &term) == -1) { // err(1, "error getting terminal attributes");