diff options
author | bfredl <bjorn.linse@gmail.com> | 2023-01-14 11:34:48 +0100 |
---|---|---|
committer | bfredl <bjorn.linse@gmail.com> | 2023-01-14 11:53:47 +0100 |
commit | 8ebdb97ea7848b5baf74ee6d9842b0a2e8a0d5fc (patch) | |
tree | 1435af42592352788fdd85a07114a82bb78645fd /scripts/gen_vimdoc.py | |
parent | 22e3b155f4b34ab54aacda6c0c96c69780e2b587 (diff) | |
download | rneovim-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 'scripts/gen_vimdoc.py')
0 files changed, 0 insertions, 0 deletions