This is a partial implementation of keepalives; it has the good
part (the sending of the packet on the requested interval), but
not the other part (disconnecting if we don't hear anything after
some number of packets).
The reason for not having the latter is that it isn't obvious to me how
to expose whether the channel had more incoming packets since sending
the ignore, so we cannot confidently act to terminate the connection.
refs: https://github.com/wezterm/wezterm/issues/4023
* feat(mark-last-tab): append last tab name with '*'
I think there should be a better method instead of make the save function so crowded.
But this works for now similar to `tmux` windows. But, `tmux` is using '*' for current and '-' for last
Hardcoded '*'
* Revert "feat(mark-last-tab): append last tab name with '*'"
This reverts commit 6f11c16dd9b034977088820fbc86a4456df9d513.
* feat(tab): add is_last to indicate previous active tab - last tab.
Add usage example to format-tab-title.md
Add docs to TabInformation.md
Couldn't add tests, perhapse can you guide on adding test for this?
* Update docs/config/lua/TabInformation.md
renaming as suggested.
Co-authored-by: Wez Furlong <wez@wezfurlong.org>
* Update wezterm-gui/src/termwindow/mod.rs
renaming as suggested.
Co-authored-by: Wez Furlong <wez@wezfurlong.org>
* Update docs/config/lua/window-events/format-tab-title.md
Co-authored-by: Wez Furlong <wez@wezfurlong.org>
* refactor: rename `TabInformation` attribute to `is_last_active`
---------
Co-authored-by: Omar Elmasri <omarmasri@duck.com>
Co-authored-by: Wez Furlong <wez@wezfurlong.org>
* feat: option to configure font for ActivateCommandPalette, CharSelect, PaneSelect
Add configuration option for font for the below entities:
- ActivateCommandPalette
- CharSelect
- PaneSelect
For the above entities, if the font is not set in configuration, it
defaults to the font resolved in config.window_frame.font. This is in
order to maintain existing behavior of using the font resolved in
config.window_frame.font
* docs: documentation for added configuration options
Add documentation for below configuration options:
- command_palette_font
- char_select_font
- pane_select_font
* refactor: rename EntityFont to Entity
* docs: add example configuration in char_select_font
Apply changes mentioned in suggestion:
https://github.com/wezterm/wezterm/pull/6696#discussion_r1986085165
* docs: add example configuration in pane_select_font
Apply changes mentioned in suggestion:
https://github.com/wezterm/wezterm/pull/6696#discussion_r1986085165
* docs: add example configuration in command_palette_font
Apply changes mentioned in suggestion:
https://github.com/wezterm/wezterm/pull/6696#discussion_r1986085165
* refactor: calculate make_bold in make_entity_font_impl method
* refactor: resolve font_size based on Entity
Since we can fetch font_size based on entity, we resolve it in
'make_entity_font_impl'. This removes the need to pass the pref_size
parameter
Apply changes mentioned in suggestions:
https://github.com/wezterm/wezterm/pull/6696#discussion_r1986085350https://github.com/wezterm/wezterm/pull/6696#discussion_r1986085949
* feat: add configuration option for InputSelector label bg and fg
Add below configuration option in config.colors:
- input_selector_label_bg
- input_selector_label_fg
If above mentioned options are not set in the configuration file then:
- input_selector_label_bg defaults to default background color
- input_selector_label_fg defaults to default foreground color
* docs: add InputSelector label bg, fg options to Colors & Appearance
Co-authored-by: Wez Furlong <wez@wezfurlong.org>