mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-31 12:21:19 -03:00
fish_tab_title: fix tab title accidentally including window title
Also use the correct OSC number. Note that this only works on few terminals (such as iTerm2). Not sure if it's worth for us to have this feature but I guess multiple users have requested it.
This commit is contained in:
@@ -221,7 +221,7 @@ Optional Commands
|
||||
- Set terminal window title (OSC 0). Used in :doc:`fish_title <cmds/fish_title>`.
|
||||
* - ``\e]2; Pt \x07``
|
||||
- ts
|
||||
- Set terminal tab title (OSC 2). Used in :doc:`fish_tab_title <cmds/fish_tab_title>`.
|
||||
- Set terminal tab title (OSC 1). Used in :doc:`fish_tab_title <cmds/fish_tab_title>`.
|
||||
* - ``\e]7;file:// Pt / Pt \x07``
|
||||
-
|
||||
- Report working directory (OSC 7).
|
||||
|
||||
Reference in New Issue
Block a user