diff --git a/docs/changelog.md b/docs/changelog.md index cdaf1e605..27b5a07d0 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -36,6 +36,7 @@ As features stabilize some brief notes about them will accumulate here. * New: [swallow_mouse_click_on_pane_focus](config/lua/config/swallow_mouse_click_on_pane_focus.md) option [#724](https://github.com/wez/wezterm/issues/724) * New: [pane_focus_follows_mouse](config/lua/config/pane_focus_follows_mouse.md) option [#600](https://github.com/wez/wezterm/issues/600) * Fixed: splitting a pane while a pane is in the zoomed state would swallow the new pane [#723](https://github.com/wez/wezterm/issues/723) +* Fixed: multi-cell glyphs weren't displayed in tab titles [#711](https://github.com/wez/wezterm/issues/711) ### 20210405-110924-a5bb5be8 diff --git a/wezterm-gui/src/tabbar.rs b/wezterm-gui/src/tabbar.rs index beedbbdd8..340e6f70b 100644 --- a/wezterm-gui/src/tabbar.rs +++ b/wezterm-gui/src/tabbar.rs @@ -204,7 +204,7 @@ impl TabBarState { } line.set_cell(x, Cell::new_grapheme(sub, cell_attrs.clone())); - x += 1; + x += unicode_column_width(sub); } for c in right {