Wez Furlong 4b0152575e Enable OSC 7 when running in WezTerm
Over in https://github.com/wez/wezterm/issues/115#issuecomment-765869705 one of my users noted that fish had automatic OSC 7, but that it wasn't enabled under WezTerm.

You can detect WezTerm through the `$TERM_PROGRAM` environment.  In practical terms, all versions of wezterm in the wild support OSC 7 so a version check is not needed.

I'm not a fish user myself, but I did give the equivalent change to this a try on my Fedora 33 machine (it has an older version of fish).

I can see in this file that there's some stuff with `__fish_enable_focus` that you may also want to enable under wezterm; the escape sequence is supported as are panes, tabs and windows.
2021-01-23 18:10:32 +01:00
..
2020-05-28 17:41:01 +02:00
2020-11-22 14:39:48 +01:00
2019-05-05 12:09:25 +02:00
2019-05-05 12:09:25 +02:00
2019-05-05 12:09:25 +02:00
2020-02-17 14:14:05 +01:00
2019-05-05 12:09:25 +02:00
2019-05-05 12:09:25 +02:00
2020-11-22 14:39:48 +01:00
2020-04-21 21:11:26 +02:00
2020-01-24 19:05:08 +01:00
2018-05-12 13:48:32 +02:00
2020-10-04 12:34:51 +02:00
2020-09-12 20:17:30 +02:00
2017-10-01 01:11:17 -07:00
2020-11-22 14:39:48 +01:00
2021-01-09 13:44:48 +01:00
2020-07-12 14:18:42 -05:00
2019-02-14 10:57:38 +01:00
2020-07-21 16:59:05 +02:00
2020-04-26 14:39:15 +02:00