-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(cellbuf): merge pull request #224 from charmbracelet/cellbuf2
Cellbuf: refactor, fix bugs, and tidy
- Loading branch information
Showing
8 changed files
with
318 additions
and
318 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
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
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
package cellbuf | ||
|
||
// WidthMethod is a type that represents the how the renderer should calculate | ||
// the display width of cells. | ||
type WidthMethod uint8 | ||
// Method is a type that represents the how the renderer should calculate the | ||
// display width of cells. | ||
type Method uint8 | ||
|
||
// Display width modes. | ||
const ( | ||
WcWidth WidthMethod = iota | ||
WcWidth Method = iota | ||
GraphemeWidth | ||
) |
Oops, something went wrong.