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

misplaced on windows #135

Open
stevenyangecho opened this issue Jul 7, 2016 · 1 comment
Open

misplaced on windows #135

stevenyangecho opened this issue Jul 7, 2016 · 1 comment

Comments

@stevenyangecho
Copy link

on win10 x64
screen resolution 1920_1080
cmd console window 200_40
build with go 1.6.2
I just build the demo editbox.go

and if I doubleclick editbox.exe it will be fine
doubleclick

but when I run it with cmd console
it will be misplaced
runwithcmd

and I send the editbox.exe to a small screen 1366_768
cmd console window 80_40
it will be both misplaced with two run way~~

any help ?thanks

@stevenyangecho stevenyangecho changed the title misplacement on windows misplaced on windows Jul 7, 2016
@nsf
Copy link
Owner

nsf commented Jul 7, 2016

I don't know, in some locales that unicode line just takes two cells. To make it work correctly in such locales a special care needs to be taken by application and render that line every two cells. Edit box example doesn't do that iirc.

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