joelekstrom / terminal-mines

An ncurses-based minesweeper game
MIT License
64 stars 8 forks source link

fixed unicode error linux #10

Closed Judro closed 1 year ago

Judro commented 1 year ago

using ncursesw for wide character support

joelekstrom commented 1 year ago

Thanks! What was the error you experienced?

Judro commented 1 year ago

That was the error (openSUSE and Linux Mint):

                             ┌────────────────────┐
                             │MMMMMMMMMMMMMMMMMMMM-
                             b~VM- MMMMMMMMMMMMMMM-
                             b~VM- MMMMMMMMMMMMMMM-
                             b~VM- MMMMMMMMMMMMMMM-
                             b~VM- MMMMMMMMMMMMMMM-
                             b~VM- MMMMMMMMMMMMMMM-
                             b~VM- MMMMMMMMMMMMMMM-
                             b~VM- MMMMMMMMMMMMMMM-
                             b~VM- MMMMMMMMMMMMMMM-
                             b~VM- MMMMMMMMMMMMMMM-
                             b~VM- ───────────────┘
                             ┌────────────────────┐
                             │Mines: 19   Flags: 0│
                             └────────────────────┘