lqs/client.go
Arnas Udovic 10f3de5030 start
2023-12-11 19:20:16 +02:00

24 lines
382 B
Go

package main
import (
"fmt"
"log"
"github.com/gdamore/tcell/v2"
)
func run() {
fmt.Println("Prade...")
var screen tcell.Screen
var err error
if screen, err = tcell.NewScreen(); err != nil {
log.Fatalf("creating screen: %s", err)
} else if err = screen.Init(); err != nil {
log.Fatalf("initializing screen: %s", err)
}
if gOpts.mouse {
screen.EnableMouse()
}
}