mirror of
https://github.com/pdxlocations/contact.git
synced 2026-07-04 17:01:59 +02:00
don't clear on every keystroke
This commit is contained in:
+2
-1
@@ -106,7 +106,7 @@ def update_packetlog_win():
|
||||
packetlog_win.refresh()
|
||||
|
||||
def draw_text_field(win, text):
|
||||
win.clear()
|
||||
# win.clear()
|
||||
win.border()
|
||||
win.addstr(1, 1, text)
|
||||
|
||||
@@ -260,6 +260,7 @@ def main_ui(stdscr):
|
||||
globals.direct_message = False
|
||||
|
||||
entry_win.keypad(True)
|
||||
curses.curs_set(1)
|
||||
|
||||
while True:
|
||||
draw_text_field(entry_win, f"Input: {input_text}")
|
||||
|
||||
Reference in New Issue
Block a user