package main import ( "fmt" "whspbrd/pkg/cell_size" ) func main() { //systray.Systray() // and here is agrid making a grid of images //for i := 0; i < 10; i++ { // for j := 0; j < 10; j++ { // render_image.RenderImage("kogami-pf-edit.jpg", i*3+2, j*7+23, 64, 64) // } //} //render_image.RenderImage("kogami-pf-edit.jpg", 0, 3, 750, 0) w, h, err := cell_size.GetTerminalCellSizePixels() if err != nil { fmt.Println("Error getting terminal cell size:", err) return } width, height := cell_size.GetConsoleSize() fmt.Println("Terminal cell size in pixels:", w, "x", h) fmt.Println("Console size in characters:", width, "x", height) }