Skip to content

Commit

Permalink
Add a missing note
Browse files Browse the repository at this point in the history
  • Loading branch information
walles committed Sep 21, 2024
1 parent cd9845c commit f48a1b4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion twin/screen.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,12 @@ type Screen interface {

Clear()

// Returns the width of the rune just added, in number of columns
// Returns the width of the rune just added, in number of columns.
//
// Note that if you set a wide rune (like '午') in one column, then whatever
// you put in the next column will be hidden by the wide rune. A wide rune
// in the last screen column will be replaced by a space, to prevent it from
// overflowing onto the next line.
SetCell(column int, row int, styledRune StyledRune) int

// Render our contents into the terminal window
Expand Down

0 comments on commit f48a1b4

Please sign in to comment.