Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateTitle ¶ added in v1.3.0
GenerateTitle tries to find a suitable terminal emulator title text for a given filename, that is not too long (ideally <30 characters)
func MustSet ¶ added in v1.1.0
func MustSet(title string)
MustSet will do a best effort of setting the terminal emulator title. No error is returned.
func Set ¶ added in v1.1.0
Set tries to set the title of the currently running terminal emulator. An error is returned if no supported terminal emulator is found.
func TitleString ¶
TitleString returns a string that can be used for setting the title for the currently running terminal emulator, or an error if not supported.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.