diff --git a/samples/bash.sh b/samples/bash.sh index 10e5bc6..8fd4eb2 100644 --- a/samples/bash.sh +++ b/samples/bash.sh @@ -140,3 +140,4 @@ log INFO "You typed: $user_input" # End marker log INFO "Script finished (version $VERSION)" + diff --git a/src/main.cc b/src/main.cc index aa3bb8b..ddef93c 100644 --- a/src/main.cc +++ b/src/main.cc @@ -24,7 +24,6 @@ void background_lsp() { } void input_listener() { - while (running) { KeyEvent event = throttle(1ms, read_key); if (event.key_type == KEY_NONE) @@ -131,4 +130,3 @@ int main(int argc, char *argv[]) { clear_regex_cache(); return 0; } -