-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow customization of terminal title
Add GEOMETRY_TITLE and GEOMETRY_CMDTITLE display locations. Geometry was already controlling the terminal title. This change uses the geometry function plumbing to display information there. The original explicit title-controlling code displayed the name and arguments of the currently-executing command. This change introduces a new geometry_cmd function to display this information from within the GEOMETRY_CMDTITLE configuration. The riskiest change in this code is the hand-rolled deansi function. The colored output of geometry functions displays poorly in the terminal title, so non-text information needed to be removed.
- Loading branch information
1 parent
ca99295
commit 16a565d
Showing
3 changed files
with
37 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters