Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

go-cursor

Provides ANSI escape sequences (strings) for manipulating cursor on terminals.

Usage

Here is equivalent of clear program (cls command on Windows) written in Go using go-cursor:

package main

import (
    "fmt"
    "github.com/ahmetalpbalkan/go-cursor"
)

func main() {
    fmt.Print(cursor.ClearEntireScreen())
    fmt.Print(cursor.MoveTo(0, 0))
}

About

ANSI escape code helpers for Go

Resources

Stars

59 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages