aboutsummaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-12-05 22:29:12 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-12-07 19:44:13 +0000
commitb4a0f5b13b44525bd1dbdbc12e4e412fc9a0a1cb (patch)
tree09ed7a541b32cf190ba746b0e4d3f342defbfe92 /util.h
parentrender: search: wcsnlen() -> wcswidth() (diff)
render: search: glyph_offset is in *cells*, cursor position in *characters*
When calculating the offset into the search string, from where to start rendering, take into account that the cursor position is in *characters*, and the glyph-offset is in *cells*.
Diffstat (limited to 'util.h')
0 files changed, 0 insertions, 0 deletions