latitudegames / AIDungeon

Infinite adventures await!
http://www.aidungeon.io/
MIT License
3.18k stars 555 forks source link

[BUG] Starting custom prompts with capital letters clears input #256

Closed Proasek closed 4 years ago

Proasek commented 4 years ago

🐛 Bug Report

Describe the bug Entering the "custom" setting from the main menu and attempting to enter a short word beginning with a capitalised letter will clear the input box after space is next pressed.

How to Reproduce

  1. select "custom" from the list of settings
  2. enter a short word beginning with a capital letter (example: "You")
  3. press the space key.
  4. See error

Expected behavior The input box should not be cleared by this action

Additional context