Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 561 Bytes

README.md

File metadata and controls

41 lines (29 loc) · 561 Bytes

Title

A small package for changing the terminal title in Golang. Supporting Windows, Linux and Mac OS.

Installation

go get github.com/ibadus/title

Usage

package main

import (
	"github.com/ibadus/title"
)

func main() {
	title.Set("Hello World!")
}

You can also use the Setf function to include formatted strings:

package main

import (
	"github.com/ibadus/title"
)

func main() {
	title.Setf("Hello %s!", "World)
}

License

This package is released under the MIT license. See LICENSE for more information.