aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/buffer.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-12-21 11:47:04 +0800
committerGitHub <noreply@github.com>2023-12-21 11:47:04 +0800
commit104565909798eff57d0bd46c56d149055b8a739b (patch)
tree90840959e1cb319cb658a75b147a265fd9c6dbe2 /src/nvim/buffer.c
parent342c7da4bd2c60796d722970f82300b6d5ba0b42 (diff)
downloadrneovim-104565909798eff57d0bd46c56d149055b8a739b.tar.gz
rneovim-104565909798eff57d0bd46c56d149055b8a739b.tar.bz2
rneovim-104565909798eff57d0bd46c56d149055b8a739b.zip
fix(osc52): use nvim_chan_send() to stderr for copying (#26690)
The data to be written can be very long, so use nvim_chan_send() instead of io.stdout:write() as the latter doesn't handle EAGAIN. A difference of these two approaches is that nvim_chan_send() writes to stderr, not stdout, so it won't work if client stderr is redirected.
Diffstat (limited to 'src/nvim/buffer.c')
0 files changed, 0 insertions, 0 deletions