diff options
author | Enan Ajmain <3nan.ajmain@gmail.com> | 2023-03-19 23:23:34 +0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-19 10:23:34 -0700 |
commit | 8786b2066d39e45295eacfe7b10263af4a330f2e (patch) | |
tree | 5f5167adebe656e0ce4ba1442c2536d23ab4882a /test/functional/vimscript/system_spec.lua | |
parent | 65046c830e14f8988d9c3b477187f6b871e45af2 (diff) | |
download | rneovim-8786b2066d39e45295eacfe7b10263af4a330f2e.tar.gz rneovim-8786b2066d39e45295eacfe7b10263af4a330f2e.tar.bz2 rneovim-8786b2066d39e45295eacfe7b10263af4a330f2e.zip |
fix: pasting in terminal buffer on windows #22566
Problem:
On Windows, pasting multiple lines on a terminal buffer cause all the
lines to appear on the same line, i.e., the line breaks are lost.
Cause:
Windows shells expect "\r\n" as line break but "terminal_paste" function
uses "\n".
Solution:
Use "\r\n" as line break for pasting in terminal buffer on Windows.
Note:
Although this issue was reported with powershell set as 'shell', it
occurs in cmd too.
Fixes #14621
Diffstat (limited to 'test/functional/vimscript/system_spec.lua')
0 files changed, 0 insertions, 0 deletions