Fix enter not clearing input

Similar to 981d72e, pressing enter wasn't clearing the input field.
This commit is contained in:
Russell Schmidt
2025-06-10 12:19:03 -05:00
parent 1362d3a219
commit d62ec09eea

View File

@@ -139,6 +139,7 @@ def main_ui(stdscr: curses.window) -> None:
elif char in (chr(curses.KEY_ENTER), chr(10), chr(13)):
handle_enter(input_text)
input_text = ""
elif char == chr(20): # Ctrl + t for Traceroute
handle_ctrl_t(stdscr)