-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(term): ansi: account for some wrap edge cases (#59)
* fix(term): ansi: account for some wrap edge cases Properly count escape codes, better handling of breakpoints, and only break word/breakpoint when necessary. Fixes: #58 * Update wrap.go * Update wrap.go * Update wrap.go * Update wrap.go * wip * fix * fix: preserve spaces in ansi strings and account for breakpoints Breakpoints are now respected and wrapped properly. Support non-breaking spaces * Update wrap.go
- Loading branch information
1 parent
07f093a
commit c2c5fe8
Showing
2 changed files
with
119 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters