mirror of
https://github.com/rivo/tview.git
synced 2026-04-26 13:25:51 +03:00
[GH-ISSUE #66] Border Is not Drawn Properly in Windows Command Prompt #46
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#46
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @joegrasse on GitHub (Mar 8, 2018).
Original GitHub issue: https://github.com/rivo/tview/issues/66
When trying to run your Box demo in the windows 10 command prompt, the border is not drawn correctly.
OS: Windows 10
Go: 1.9.4
@KingRikkie commented on GitHub (Mar 9, 2018):
You sure about this? Works on my end.
As a side note, there will be an offset of one col on the right side if I compile it and run the exe directly or call the *.go file with
go run. The offset vanishes if I call the exe from an existing commandline.@glycerine commented on GitHub (Mar 10, 2018):
I can repro this in the windows 10 cmd.exe (cmd.exe is a piece of c**p which ms has never cared about). But it works fine in ConEmu, an actual terminal emulator for windows. https://conemu.github.io/
@jopbrown commented on GitHub (Mar 11, 2018):
The layout may break in certain code page and font .
You can fix it by changing the code page to utf-8 (
chcp 65001) and set the font toConsolas.@glycerine commented on GitHub (Mar 11, 2018):
Be very careful with that. Test on a box you have backed up/can wipe and reload the OS. Quoting
https://superuser.com/questions/269818/change-default-code-page-of-windows-console-to-utf-8
and
@rivo commented on GitHub (Mar 14, 2018):
I wasn't able to reproduce this on Win10. I did see the extra column once (using a compiled version of the Box demo). But selecting parts of the screen seemed to indicate that it was an issue with the Terminal window, not
tviewortcell. Resizing the window made it go away (at least for a while).I don't see anything I can do here so I'll close this issue.
@joegrasse commented on GitHub (Mar 27, 2018):
For others that have this issue, my problem was that I had set the cmd font to a different font. When I switch the font back to Courier New, I didn't have the problem anymore.