Skip to content

Commit

Permalink
[sheets] display cell notes using clipdraw to allow onclick #2381
Browse files Browse the repository at this point in the history
  • Loading branch information
saulpw committed May 19, 2024
1 parent c744cde commit e96ffa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion visidata/sheets.py
Original file line number Diff line number Diff line change
Expand Up @@ -878,7 +878,7 @@ def drawRow(self, scr, row, rowidx, ybase, rowcattr: ColorAttr, maxheight,
notewidth = 1 if note else 0
if note:
notecattr = update_attr(cattr, colors.get_color(cellval.notecolor), 10)
scr.addstr(ybase, x+colwidth-notewidth, note, notecattr.attr)
clipdraw(scr, ybase, x+colwidth-notewidth, note, notecattr)

lines = lines[voffset:]

Expand Down

0 comments on commit e96ffa9

Please sign in to comment.