diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2026-01-28 06:50:49 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-28 06:50:49 +0800 |
| commit | 6291256868f033cae7c3ef2b30406a2c17090046 (patch) | |
| tree | 6bcefe4b78843cc80d60534fa3b50e1b164cc2cb /runtime/lua/vim/loader.lua | |
| parent | 6a2883532060124d4c64fc8afb04dd93c47e96d3 (diff) | |
| download | rneovim-6291256868f033cae7c3ef2b30406a2c17090046.tar.gz rneovim-6291256868f033cae7c3ef2b30406a2c17090046.tar.bz2 rneovim-6291256868f033cae7c3ef2b30406a2c17090046.zip | |
fix(process): avoid buffering unnecessary UI event with PTY CWD (#37582)
Problem:
Calling os_chdir() to change the child processes' CWD may cause some
unnecessary UI events to be buffered. These UI events don't go anywhere
as execvp() is called before flushing the UI buffer.
Solution:
Use uv_chdir() instead of os_chdir(). Also fix getting error string
incorrectly. Add test for the current behavior.
Diffstat (limited to 'runtime/lua/vim/loader.lua')
0 files changed, 0 insertions, 0 deletions