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

alt-tab inserts a space in the code editor #1332

Closed
asexto opened this issue Feb 4, 2021 · 8 comments
Closed

alt-tab inserts a space in the code editor #1332

asexto opened this issue Feb 4, 2021 · 8 comments
Assignees
Labels

Comments

@asexto
Copy link

asexto commented Feb 4, 2021

When switching apps using the usual shortcut (alt+tab) TIC-80 inserts one space in the code editor. It would be great to make TIC-80 ignore the pressed keys. This is specially annoying for example when reading the wiki while programming.

@nesbox nesbox added the bug label Feb 5, 2021
@nesbox
Copy link
Owner

nesbox commented Apr 8, 2021

Can't reproduce it on the latest 0.90 and 0.80, tested on Windows and Mac.
Please, reopen if you have more details on how to reproduce it.
THanks.

@nesbox nesbox closed this as completed Apr 8, 2021
@asexto
Copy link
Author

asexto commented Apr 8, 2021

I just updated to the Git version and I see the problem still exists. This is what I do:

  • I am typing with the code editor visible
  • I switch applications pressing alt+tab and focus another application (for instance the web browser)
  • I switch back to the code editor of TIC-80 pressing alt+tab again
    In this same moment TIC-80 inserts a space character just where the cursor is located

I don't see how to reopen this issue. Do you want me to open a new one?

@joshgoebel
Copy link
Collaborator

I assume Windows since you say "alt" tab?

@nesbox nesbox reopened this Apr 8, 2021
@nesbox
Copy link
Owner

nesbox commented Apr 8, 2021

Unfortunately, still can't reproduce but added a workaround here 78c0b15
@asexto could you pls test the latest version?
https://github.com/nesbox/TIC-80/actions/runs/729775636
Thanks.

@asexto
Copy link
Author

asexto commented Apr 8, 2021

Sorry I forgot to mention I'm using Manjaro Linux and I install TIC-80 from the Arch Linux build file published in the AUR that fetches the code from your repository (https://aur.archlinux.org/packages/tic-80-git/).

I just rebuilt TIC-80 this way but the problem is still there. Do you want me to make a video or something?

Thank you!

nesbox added a commit that referenced this issue Apr 9, 2021
@nesbox
Copy link
Owner

nesbox commented Apr 15, 2021

OK, I've just reproduced it on Manjaro Linux...

@nesbox
Copy link
Owner

nesbox commented Apr 15, 2021

Fixed here c83b696
@asexto please, check it.

@nesbox nesbox closed this as completed Apr 15, 2021
@nesbox nesbox self-assigned this Apr 15, 2021
@asexto
Copy link
Author

asexto commented Apr 15, 2021

Checked, now it works great. Thank you!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants