aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/buffer.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2024-01-04 14:07:25 +0100
committerbfredl <bjorn.linse@gmail.com>2024-01-11 19:53:21 +0100
commit478b1af511b2ce9ecaeade910ce227b900b83429 (patch)
tree334cc7e14a57d688ddc4038dda678c04b2eb57d2 /src/nvim/api/buffer.c
parentd54156ed08b84e6c7f22334a4f3a4d4f84798604 (diff)
downloadrneovim-478b1af511b2ce9ecaeade910ce227b900b83429.tar.gz
rneovim-478b1af511b2ce9ecaeade910ce227b900b83429.tar.bz2
rneovim-478b1af511b2ce9ecaeade910ce227b900b83429.zip
refactor(screen): simplify grid_clear() and win_draw_end()
grid_put_linebuf() used grid_clear() internally to handle clearing the left part of a rightleft line. By reimplementing that internally, we can instead use grid_put_linebuf() as the implementation of grid_clear(), which in the end is a net reduction of code as grid_fill() is used for nothing else. win_draw_end: Implement "draw_margin" on a per-row basis which closer reflects how terminals work. Also use the magic mirror for 'rightleft'
Diffstat (limited to 'src/nvim/api/buffer.c')
0 files changed, 0 insertions, 0 deletions