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

Example not working with go 1.9 #1

Open
sarathsp06 opened this issue Jan 18, 2018 · 2 comments
Open

Example not working with go 1.9 #1

sarathsp06 opened this issue Jan 18, 2018 · 2 comments

Comments

@sarathsp06
Copy link

No description provided.

@kaey
Copy link
Owner

kaey commented Jan 19, 2018

You're probably running it together with X and X overwrites your pixel, you can switch to getty and try there.

Drawing on framebuffer requires a lot of unrelated work which this lib doesn't cover and I would recommend against it, unless you understand what you're doing and why.
If you just want to draw something on screen, use shiny (https://godoc.org/golang.org/x/exp/shiny/screen).

@sarathsp06
Copy link
Author

I am using Wayland not X. Tried on terminator below is the spec

uname -a 
Linux sparta-local 4.14.8-200.fc26.x86_64 #1 SMP Wed Dec 20 19:05:23 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
go version go1.9 linux/amd64

Thanks for the recommendation i was trying out for fun ,developing a 2factor app with TOTP that creates and prints QR code in terminal. Did it with terminal background color codes and spaces 😄 😄
just wanted to get it done cleanly

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