Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Terminal bug #224

Open
JTrenerry opened this issue Sep 10, 2023 · 0 comments
Open

Terminal bug #224

JTrenerry opened this issue Sep 10, 2023 · 0 comments
Labels
bug Something isn't working wontfix This will not be worked on

Comments

@JTrenerry
Copy link
Contributor

Description

If a valid command ends in a character that is registered with a keyUp event, D for example, if that character is held for while pressing enter (cannot be held long enough for it to count as repeated putting in the same character) it will still trigger the keyUp event and can make the player's movement off.

How To Reproduce

Steps to reproduce the behaviour:

  1. Open terminal
  2. Type 'load' and hold the d while clicking enter
  3. Let go of d

Expected Behaviour

Nothing occurs

Additional Context

Hard to reproduce as you need to hold the button but not long enough so it triggers more d's to be writtern, as such most likely won't be fixed as 1) Terminal is for developers and won't impend on usual player experience, and 2) Unlike previous bug with terminal it is hard to do unless you go out of your way to do so.

Temporary Fix

Let go of characters before clicking the enter key to submit a command.

@JTrenerry JTrenerry added bug Something isn't working wontfix This will not be worked on labels Sep 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant