1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-23 21:32:13 +03:00

fix wrong starting row for split paints when tab bar is at bottom

refs: https://github.com/wez/wezterm/issues/797
This commit is contained in:
Wez Furlong 2021-05-15 07:46:05 -07:00
parent a59e9b1706
commit 69561b96c8
2 changed files with 6 additions and 1 deletions

View File

@ -19,6 +19,7 @@ As features stabilize some brief notes about them will accumulate here.
* Fixed: wrong scaling for ligatures in Recursive Mono font [#699](https://github.com/wez/wezterm/issues/699)
* Fixed: incorrect Sixel HLS hue handling [#775](https://github.com/wez/wezterm/issues/775)
* Fixed: we now recognize the `CSI 48:2:0:214:255m` form of specifying true color text attributes [#785](https://github.com/wez/wezterm/issues/785)
* Fixed: split separators didn't respect `tab_bar_at_bottom=true` and were rendered in the wrong place [#797](https://github.com/wez/wezterm/issues/797)
### 20210502-154244-3f7122cb

View File

@ -578,7 +578,11 @@ impl super::TermWindow {
}
}
};
let first_row_offset = if self.show_tab_bar { 1 } else { 0 };
let first_row_offset = if self.show_tab_bar && !self.config.tab_bar_at_bottom {
1
} else {
0
};
for info in glyph_info.iter() {
let glyph = &info.glyph;