forked from robertabcd/PttChrome
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: dynamic title (page title - site title - URL)
* src/js: * ansi_parser.js * import b2u for converting site title * add AnsiParser.STATE_OSC (4) * AnsiParser.feed() * add case handling for sequence "OSC 2 ; Pt ST/BEL" (Change Window Title to Pt) for site title * term_buf.js * TermBuf() * add attrs titleBase & titleSite & titleConn & title for building dynamic title * add and use TermBuf.setTitle() for updating window title * ansi_parser.js AnsiParser.feed() * pttchrome.js * App() 'focus' event * App.onConnect() * use TermBuf.title for getting the title instead * term_view.js TermView.titleTimer() * pttchrome.js App() 'focus' event
- Loading branch information
1 parent
5fe32e6
commit b3bc366
Showing
4 changed files
with
73 additions
and
3 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
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