Skip to content

Commit

Permalink
fixup!: use the correct Spans
Browse files Browse the repository at this point in the history
  • Loading branch information
a-kenji committed Aug 8, 2023
1 parent fa1decf commit 2b79ee0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/line/item.rs
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ impl Item {
let mut chars = vec![];
for ch in span.content.chars() {
// NOTE: all control characters (except "\n") should have been removed via the `Printable` trait
// and "\n" should have been removed when building Line from the item
// and "\n" should have been removed when building Spans from the item
let char_width = ch.width().expect(
"encountered unexpected control character while wrapping lines",
);
Expand Down

0 comments on commit 2b79ee0

Please sign in to comment.