framebuffer icon indicating copy to clipboard operation
framebuffer copied to clipboard

Example not working with go 1.9

Open sarathsp06 opened this issue 7 years ago • 2 comments

sarathsp06 avatar Jan 18 '18 16:01 sarathsp06

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).

kaey avatar Jan 19 '18 13:01 kaey

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

sarathsp06 avatar Jan 23 '18 08:01 sarathsp06