Skip to content

hazaelsan/termtitle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

termtitle

GoDoc

Sets the terminal title.

This can be used as a helper for various CLI-based applications (e.g., mutt) to set a context-aware terminal title.

Installation

go get -u github.com/hazaelsan/termtitle

Usage

$GOBIN/termtile -title_auto "my fancy title"

Formatters

There are several formatters for setting the terminal title.

auto

Pseudo-formatter, if a screen/tmux terminal is detected it returns the screen formatter, otherwise it returns a xterm formatter.

null

The bitbucket, doesn't output anything.

raw

A formatter that doesn't output any control sequences.

screen

Uses screen/tmux compatible control sequences.

xterm

Uses XTerm compatible control sequences.

About

Sets the terminal title.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages