mirror of
https://github.com/wez/wezterm.git
synced 2024-11-23 06:54:45 +03:00
d716578735
This is a little ghetto feeling because we're just stealing the top line from the terminal model, rather than rendering anything particularly native, but it is relatively quick and easy to do, and helps improve the feel when using wezterm on a chromebook inside crostini; in that environment, the system doesn't render any text in the window titlebars (WTF!?) so it is desirable to show something to help navigate the UI. The tab bar is off by default for now; we'll definitely want to add options to configure at least the colors, and perhaps add a keybinding to toggle it at runtime. ``` enable_tab_bar = true ``` While adding support for the tab bar, I found a couple of little bugs relating to computing the number of rows and columns; one was during resize where we'd use the prior size instead of the current size. Another was during tab spawning where we'd use a slightly different calculation to determine the size and end up raising an error about being confused about the screen size. |
||
---|---|---|
.. | ||
font | ||
frontend | ||
mux | ||
server | ||
clipboard.rs | ||
config.rs | ||
keyassignment.rs | ||
localtab.rs | ||
main.rs | ||
ratelim.rs | ||
ssh.rs | ||
termwiztermtab.rs |