Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
utahta committed Nov 18, 2019
1 parent 4b81212 commit d2e153e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/internal/window/floating_window.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ func (fw *floatingWindow) SetLine(ss []string) error {
if w > winwidth {
width = winwidth

// Use binary search to find the maximum width of floating window.
// But there may be a better way
var (
rs = []rune(ss[i])
lb = -1
Expand Down

0 comments on commit d2e153e

Please sign in to comment.