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

Table on Windows displays ? #249

Open
Jason5Lee opened this issue Jan 11, 2025 · 1 comment
Open

Table on Windows displays ? #249

Jason5Lee opened this issue Jan 11, 2025 · 1 comment

Comments

@Jason5Lee
Copy link

Code:

Terminal()
    .println(table {
        header { row("Column 1", "Column 2") }
        body { row("1", "2") }
    })

Result:
image

@Jason5Lee Jason5Lee changed the title Table on Windows displays a ? Table on Windows displays ? Jan 11, 2025
@ajalt
Copy link
Owner

ajalt commented Jan 13, 2025

This happens when your terminal isn't rendering unicode characters. Make sure your file encoding is utf-8 and your terminal is also utf-8. You can also use ascii-only characters with borderType = BorderType.ASCII 1 2

I'm not sure there's anything mordant can do about that.

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

No branches or pull requests

2 participants