Uppercase letters stripped when copy&paste text to Windows Powershell tab #12812

Open
opened 2026-01-31 03:25:40 +00:00 by claunia · 0 comments
Owner

Originally created by @dabajabaza on GitHub (Mar 2, 2021).

Environment

Windows build number: 10.0.19042
Windows Terminal version (if applicable): 1.4.3243.0

Relevant part of settings.json

...
"profiles":
    {
        "defaults":
        {
            // Put settings here that you want to apply to all profiles.
            "fontSize": 14,
            "fontWeight": "normal",
        },
        "list":
        [
            {
                // Make changes here to the powershell.exe profile.
                "guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
                "name": "Windows PowerShell",
                "commandline": "powershell.exe",
                "startingDirectory": "z:\\",
                "hidden": false
            },
...
    "actions":
    [
        // Copy and paste are bound to Ctrl+Shift+C and Ctrl+Shift+V in your defaults.json.
        // These two lines additionally bind them to Ctrl+C and Ctrl+V.
        // To learn more about selection, visit https://aka.ms/terminal-selection
        { "command": {"action": "copy", "singleLine": false }, "keys": "ctrl+c" },
        { "command": "paste", "keys": "ctrl+v" },
        { "command": "unbind", "keys": "ctrl+shift+v" },

        // Press Ctrl+Shift+F to open the search box
        { "command": "find", "keys": "ctrl+shift+f" },

        // Press Alt+Shift+D to open a new pane.
        // - "split": "auto" makes this pane open in the direction that provides the most surface area.
        // - "splitMode": "duplicate" makes the new pane use the focused pane's profile.
        // To learn more about panes, visit https://aka.ms/terminal-panes
        { "command": { "action": "splitPane", "split": "auto", "splitMode": "duplicate" }, "keys": "alt+shift+d" }
    ]
}

Steps to reproduce

Open Windows Powershell tab & Copy with Ctrl+C and paste with Ctrl+V (or with right mouse button) english text with some uppercase letters

Expected behavior

Uppercase letters preserved

Actual behavior

Uppercase letters stripped
Command Prompt 2021-03-02 19-55-35

Originally created by @dabajabaza on GitHub (Mar 2, 2021). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> <!-- This bug tracker is monitored by Windows Terminal development team and other technical folks. **Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues**. Instead, send dumps/traces to secure@microsoft.com, referencing this GitHub issue. If this is an application crash, please also provide a Feedback Hub submission link so we can find your diagnostic data on the backend. Use the category "Apps > Windows Terminal (Preview)" and choose "Share My Feedback" after submission to get the link. Please use this form and describe your issue, concisely but precisely, with as much detail as possible. --> # Environment ```none Windows build number: 10.0.19042 Windows Terminal version (if applicable): 1.4.3243.0 ``` Relevant part of settings.json ``` ... "profiles": { "defaults": { // Put settings here that you want to apply to all profiles. "fontSize": 14, "fontWeight": "normal", }, "list": [ { // Make changes here to the powershell.exe profile. "guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}", "name": "Windows PowerShell", "commandline": "powershell.exe", "startingDirectory": "z:\\", "hidden": false }, ... "actions": [ // Copy and paste are bound to Ctrl+Shift+C and Ctrl+Shift+V in your defaults.json. // These two lines additionally bind them to Ctrl+C and Ctrl+V. // To learn more about selection, visit https://aka.ms/terminal-selection { "command": {"action": "copy", "singleLine": false }, "keys": "ctrl+c" }, { "command": "paste", "keys": "ctrl+v" }, { "command": "unbind", "keys": "ctrl+shift+v" }, // Press Ctrl+Shift+F to open the search box { "command": "find", "keys": "ctrl+shift+f" }, // Press Alt+Shift+D to open a new pane. // - "split": "auto" makes this pane open in the direction that provides the most surface area. // - "splitMode": "duplicate" makes the new pane use the focused pane's profile. // To learn more about panes, visit https://aka.ms/terminal-panes { "command": { "action": "splitPane", "split": "auto", "splitMode": "duplicate" }, "keys": "alt+shift+d" } ] } ``` # Steps to reproduce <!-- A description of how to trigger this bug. --> Open Windows Powershell tab & Copy with Ctrl+C and paste with Ctrl+V (or with right mouse button) english text with some uppercase letters # Expected behavior <!-- A description of what you're expecting, possibly containing screenshots or reference material. --> Uppercase letters preserved # Actual behavior <!-- What's actually happening? --> Uppercase letters stripped ![Command Prompt 2021-03-02 19-55-35](https://user-images.githubusercontent.com/11490311/109686260-2a003e00-7b93-11eb-902b-e36a0197d9f4.gif)
claunia added the Needs-TriageNeeds-Tag-Fix labels 2026-01-31 03:25:40 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#12812