-
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.
refactor(cellbuf): rename grid to screen and clean up
- Loading branch information
1 parent
ae502d7
commit 1c2bac8
Showing
4 changed files
with
240 additions
and
231 deletions.
There are no files selected for viewing
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 | ||
) |
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
Oops, something went wrong.