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

Tiles randomly disappear when played in PowerShell #24

Closed
moigagoo opened this issue Mar 21, 2014 · 8 comments
Closed

Tiles randomly disappear when played in PowerShell #24

moigagoo opened this issue Mar 21, 2014 · 8 comments
Milestone

Comments

@moigagoo
Copy link

When two tiles are paired into one, a tile may disappear completely from the field.

Reproduced on PowerShell in every game.

Cmd works all right though.

@bfontaine bfontaine added the bug label Mar 21, 2014
@bfontaine
Copy link
Owner

Thank you for the report, unfortunately I don’t have any Windows-based PC so I can’t reproduce but I’m open to contributions :)

@AnishShah
Copy link

Can you help me to reproduce the bug?

@moigagoo
Copy link
Author

To reproduce the issue, I'm just playing casually, and it pops out at some point (couldn't find any system in that so far though).

This is how it looks when a tile disappears: http://i.imgur.com/AOMJtc4.png

In this particular case, this happened when I pressed left, a 16 was on the marked position and just disappeared.

@bfontaine
Copy link
Owner

Could you try to select the tile with the mouse to check if there’s text here? From your screenshot, a white dot is not shown so the tile is not empty, this could be a color issue (the tile is maybe of the same color of your background).

@moigagoo
Copy link
Author

Tried it, didn't help. The tile is not there: http://i.imgur.com/KQQYbFH.png

In the situation on the picture, if I press LEFT, nothing changes. Here's what happens on DOWN: http://i.imgur.com/xNJzMbT.png

As you can see, the numbers behave as if the missing tile is a “wall.”

@pawulon
Copy link

pawulon commented Oct 8, 2017

Powershell doesn't display magenta on a default background.
default shortcut on Windows remaps ANSI colors 35,36
Workaround - change background color to black.

@bfontaine
Copy link
Owner

Thanks a lot @pawulon!

Workaround - change background color to black.

Alternatively, we could change the colors not to use magenta.

@pawulon
Copy link

pawulon commented Oct 9, 2017

Yes. I did a test with:

  1. Fore.LIGHTMAGENTA_EX instead of Fore.MAGENTA
  2. Fore.MAGENTA + Style.BRIGHT instead of Fore.MAGENTA

and it worked good in three command line tools on Windows (cmd.exe, powershell, cmder).

Also, powershell displays yellow color as white. It is not a big problem since the tile is not disappearing but we may also apply potential fix to it.

@bfontaine bfontaine added this to the 0.2.6 milestone Dec 25, 2017
@bfontaine bfontaine modified the milestones: 0.2.6, 1.0.0 Mar 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants