aboutsummaryrefslogtreecommitdiff
path: root/test/functional/vimscript/system_spec.lua
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2023-01-14 11:34:48 +0100
committerbfredl <bjorn.linse@gmail.com>2023-01-14 11:53:47 +0100
commit8ebdb97ea7848b5baf74ee6d9842b0a2e8a0d5fc (patch)
tree1435af42592352788fdd85a07114a82bb78645fd /test/functional/vimscript/system_spec.lua
parent22e3b155f4b34ab54aacda6c0c96c69780e2b587 (diff)
downloadrneovim-8ebdb97ea7848b5baf74ee6d9842b0a2e8a0d5fc.tar.gz
rneovim-8ebdb97ea7848b5baf74ee6d9842b0a2e8a0d5fc.tar.bz2
rneovim-8ebdb97ea7848b5baf74ee6d9842b0a2e8a0d5fc.zip
fix(rbuffer): handle edge case where write_ptr has wrapped around
when using the rbuffer as a linear buffer, exactly filling the buffer will case write_ptr to wrap around too early. For now detect this special case. Of course, the rbuffer should refactored to a proper ring buffer where write_pos >= read_pos always and there is no special case for full buffers. This will be a follow up change.
Diffstat (limited to 'test/functional/vimscript/system_spec.lua')
0 files changed, 0 insertions, 0 deletions