-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
BugError or unexpected behaviorsError or unexpected behaviors
Description
p5.js version
1.11.1
What is your operating system?
Linux
Web browser and version
Firefox Version: 131.0.3 / 20241014102019
Actual Behavior
Pressing the up arrow key does not bring old code into the console's input field.
Expected Behavior
Pressing the up and down arrow keys cycles through history, so that we don't have to retype any of the code we've just entered
This used to be the case until recently; not sure at what point the regression happened, however.
Steps to reproduce
Steps:
- Enter some code into the console's input field, e.g.
1
. Press enter to execute it. - Press the up arrow key.
- Observe that nothing happens.
- Input some more text, without pressing enter.
- Press up arrow again.
- Observe that your just-entered code gets deleted.
Snippet:
N/A (Default sketch works just fine for reproducing.)
Metadata
Metadata
Assignees
Labels
BugError or unexpected behaviorsError or unexpected behaviors