Skip to content

inelegantly suppress String#display_width crashes#12

Open
hyperbolist wants to merge 1 commit into
wmorgan:masterfrom
hyperbolist:display_width_rescue
Open

inelegantly suppress String#display_width crashes#12
hyperbolist wants to merge 1 commit into
wmorgan:masterfrom
hyperbolist:display_width_rescue

Conversation

@hyperbolist

Copy link
Copy Markdown
Contributor

This is just my lazy hack to suppress a seemingly "random" crash,
instead of rescuing each usage of display_width like we see in
TextField#position_cursor! or in ScrollMode#draw_line_from_array,
and instead of finding where broken strings are coming from.

Any ideas for a more permanent fix?

This is just my lazy hack to suppress a seemingly "random" crash,
instead of rescuing each usage of display_width like we see in
TextField#position_cursor! or in ScrollMode#draw_line_from_array,
and instead of finding where broken strings are coming from.

Any ideas for a more permanent fix?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant