Make sure WT can copy wrapped lines as a single line #4709

Open
opened 2026-01-30 23:54:36 +00:00 by claunia · 0 comments
Owner

Originally created by @angelog0 on GitHub (Oct 29, 2019).

I created this profile (since WT 0.5),

{
            "guid": "{9c173dff-f524-43df-b40e-29953998c744}",
            "name": "MSYS2 Terminal",
            "commandline": "cmd.exe /c \"set MSYSTEM=MSYS&& set MSYS=winsymlinks:nativestrict&& C:/msys64/usr/bin/bash.exe --login\"",
            "hidden": false,
            "startingDirectory": "C:/msys64/home/user",
            "closeOnExit": true,
            "colorScheme": "MSYS2-Theme",
            "cursorColor": "#FD9D4F",
            "cursorShape": "filledBox",
            "fontFace": "Cascadia Code",
            "fontSize": 11,
            "historySize": 9001,
            "icon": "C:/msys64/msys2.ico",
            "padding": "8, 8, 8, 8",
            "snapOnInput": true// ,
            // "useAcrylic": true,
            // "acrylicOpacity": 0.75
        }

and noticed that when I paste a long line as in
long_line it works wrong

$ ls -lrt /usr/lib/gcc/ /usr/lib/gcc/ /usr/lib/gcc/ /usr/lib/gcc/ /usr/lib/gcc/ /usr/lib/gcc/ /usr/lib/gcc/ /usr/lib/gc
ls: impossibile accedere a '/usr/lib/gc': No such file or directory
[...]
$ c/ /usr/lib/gcc/ /usr/lib/gcc/

This does not occur in Ubuntu or DOS or PoweShell profiles.

In short, it does not like the end of line when using MSYS2 profile. Maybe you have some suggestions...

(BTW, I copied that line dragging the mouse and pasting with right click, as usually one have to do in WT)

The system is W10 Pro 64 10.0.18362.449.

Originally created by @angelog0 on GitHub (Oct 29, 2019). I created this profile (since WT 0.5), ``` { "guid": "{9c173dff-f524-43df-b40e-29953998c744}", "name": "MSYS2 Terminal", "commandline": "cmd.exe /c \"set MSYSTEM=MSYS&& set MSYS=winsymlinks:nativestrict&& C:/msys64/usr/bin/bash.exe --login\"", "hidden": false, "startingDirectory": "C:/msys64/home/user", "closeOnExit": true, "colorScheme": "MSYS2-Theme", "cursorColor": "#FD9D4F", "cursorShape": "filledBox", "fontFace": "Cascadia Code", "fontSize": 11, "historySize": 9001, "icon": "C:/msys64/msys2.ico", "padding": "8, 8, 8, 8", "snapOnInput": true// , // "useAcrylic": true, // "acrylicOpacity": 0.75 } ``` and noticed that when I paste a long line as in ![long_line](https://user-images.githubusercontent.com/35931460/67782140-b616c880-fa68-11e9-8c72-c4e07a440390.png) it works wrong ``` $ ls -lrt /usr/lib/gcc/ /usr/lib/gcc/ /usr/lib/gcc/ /usr/lib/gcc/ /usr/lib/gcc/ /usr/lib/gcc/ /usr/lib/gcc/ /usr/lib/gc ls: impossibile accedere a '/usr/lib/gc': No such file or directory [...] $ c/ /usr/lib/gcc/ /usr/lib/gcc/ ``` This does not occur in Ubuntu or DOS or PoweShell profiles. In short, it does not like the end of line when using MSYS2 profile. Maybe you have some suggestions... (BTW, I copied that line dragging the mouse and pasting with right click, as usually one have to do in WT) The system is W10 Pro 64 10.0.18362.449.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#4709