Minor QOL improvement for arcade chat (#149)

This commit is contained in:
Eric Gustin 2024-11-06 09:13:21 -08:00 committed by GitHub
parent 29ccf19e73
commit 311bfaa26f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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)