···206206207207/// returns the width of the grapheme. This depends on the terminal capabilities
208208pub fn gwidth(self: Window, str: []const u8) usize {
209209- return gw.gwidth(str, self.screen.width_method, &self.screen.unicode.width_data) catch 1;
209209+ return gw.gwidth(str, self.screen.width_method, &self.screen.unicode.width_data);
210210}
211211212212/// fills the window with the provided cell
···139139140140/// Returns the width of the grapheme. This depends on the terminal capabilities
141141pub fn gwidth(self: View, str: []const u8) usize {
142142- return gw.gwidth(str, self.screen.width_method, &self.screen.unicode.width_data) catch 1;
142142+ return gw.gwidth(str, self.screen.width_method, &self.screen.unicode.width_data);
143143}
144144145145/// Fills the View with the provided cell