This is important when typing characters such as ⚡(U+26A1 HIGH VOLTAGE SIGN), otherwise fish computes a different character width than the terminal. See https://github.com/fish-shell/fish-shell/pull/4816