goterm
goterm copied to clipboard
Advanced terminal output in Go
if table's rows more than 20,tm.Println will print nothing
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.0.0-20210331175145-43e1dd70ce54 to 0.1.0. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
I want to move my cursor using MoveCursor() and get a user input at that location. Using fmt.Scanln() does not work properly and getting user input using bufio doesn't give...
Works fine on Windows Terminal but for pure cmd, it needs a specific way like this: https://github.com/inancgumus/screen/blob/master/clear_windows.go
```go package main import ( "github.com/buger/goterm" ) func main() { println("before") goterm.Println("foo") goterm.Flush() println("after", goterm.Width(), goterm.Height()) } ``` Works if I start the program manually in a regular VS Code...
```go File : terminal.go // Flush buffer and ensure that it will not overflow screen func Flush() { for idx, str := range strings.Split(Screen.String(), "\n") { if idx > Height()...
Any idea why I get errors like these? ``` dave@tripper:goterm $ go run examples/chart_example.go Error: GetWinsize: inappropriate ioctl for device dave@tripper:goterm $ go run examples/table_example.go Error: GetWinsize: inappropriate ioctl for...
Can we present a string on the X axis corresponding to a double value? Example - Y axis | | |--------------------------------- | | | |_________|_______________|_________ X axis 20-9-2018 22:22:30 20-10-2018...
I use docker container run golang. ``` docker pull golang:1.9-alpine3.7 ``` ``` docker run --name golang -d golang:1.9-alpine3.7 ``` ``` docker exec -ti golang sh ``` in container: ``` /go...