Minor QOL improvement for arcade chat (#149)
This commit is contained in:
parent
29ccf19e73
commit
311bfaa26f
1 changed files with 2 additions and 0 deletions
|
|
@ -265,6 +265,8 @@ def chat(
|
|||
|
||||
# Use input() instead of console.input() to leverage readline history
|
||||
user_input = input()
|
||||
while not user_input.strip():
|
||||
user_input = input()
|
||||
|
||||
# Add the input to history
|
||||
readline.add_history(user_input)
|
||||
|
|
|
|||
Loading…
Reference in a new issue