kaey / framebuffer

Library for linux framebuffer device.
BSD 3-Clause "New" or "Revised" License
21 stars 7 forks source link

Example not working with go 1.9 #1

Open sarathsp06 opened 6 years ago

kaey commented 6 years ago

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 commented 6 years ago

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