terminal: Selection with the shift key does not actually select
Windows Terminal version
1.14.1451.0
Windows build number
10.0.19044.0
Other Software
No response
Steps to reproduce
Go to a previous command, press <kbd>home</kbd> to go to the start of it, then <kbd>shift+end</kbd> to select it, then finally <kbd>ctrl+c</kbd>.
Config:
{
"$help": "https://aka.ms/terminal-documentation",
"$schema": "https://aka.ms/terminal-profiles-schema",
"copyFormatting": "none",
"copyOnSelect": false,
"defaultProfile": "{1cdf69ac-06b5-4a6f-9fb2-bf594c683073}",
"initialCols": 200,
"initialPosition": "0,0",
"initialRows": 40,
"actions":
[
{ "command": "markMode", "keys": "ctrl+shift+m" },
{ "command": { "action": "adjustOpacity", "opacity": -10 }, "keys": "ctrl+shift+-" },
{ "command": { "action": "adjustOpacity", "opacity": 10 }, "keys": "ctrl+shift+=" },
{ "command": "globalSummon", "keys": "browser_stop" },
{ "command": "toggleFocusMode", "keys": "ctrl+numpad_plus" },
{ "command": "find", "keys": "ctrl+f" },
{ "command": { "action": "copy", "singleLine": false }, "keys": "ctrl+c" },
{ "command": "paste", "keys": "ctrl+v" },
{ "command": "selectAll", "keys": "ctrl+a" },
{ "command": "scrollDownPage", "keys": "pgdn" },
{ "command": "scrollUpPage", "keys": "pgup" },
{ "command": "newTab", "keys": "ctrl+t" },
{ "command": { "action": "newTab", "elevate": true, "profile": "PowerShell" }, "keys": "ctrl+shift+t" },
{ "command": "closeTab", "keys": "f13" },
{ "command": "closeOtherTabs", "keys": "shift+f13" },
{ "command": "nextTab", "keys": "f14" },
{ "command": "prevTab", "keys": "f15" },
{ "command": { "action" : "moveTab", "direction": "forward" }, "keys": "shift+f14" },
{ "command": { "action" : "moveTab", "direction": "backward" }, "keys": "shift+f15" },
{ "command": "closePane", "keys": "shift+escape" },
{ "command": "togglePaneZoom", "keys": "ctrl+numpad_multiply" },
{ "command": "toggleReadOnlyMode", "keys": "ctrl+shift+numpad_multiply" },
{ "command": { "action": "splitPane", "split": "up" }, "keys": "ctrl+up" },
{ "command": { "action": "splitPane", "split": "down" }, "keys": "ctrl+down" },
{ "command": { "action": "splitPane", "split": "left" }, "keys": "ctrl+left" },
{ "command": { "action": "splitPane", "split": "right" }, "keys": "ctrl+right" },
{ "command": { "action": "resizePane", "direction": "up" }, "keys": "ctrl+shift+up" },
{ "command": { "action": "resizePane", "direction": "down" }, "keys": "ctrl+shift+down" },
{ "command": { "action": "resizePane", "direction": "left" }, "keys": "ctrl+shift+left" },
{ "command": { "action": "resizePane", "direction": "right" }, "keys": "ctrl+shift+right" },
{ "command": { "action": "moveFocus", "direction": "previousInOrder" }, "keys": "browser_back" },
{ "command": { "action": "moveFocus", "direction": "nextInOrder" }, "keys": "browser_forward" },
{ "command": { "action": "swapPane", "direction": "previousInOrder"}, "keys": "shift+browser_back" },
{ "command": { "action": "swapPane", "direction": "nextInOrder"}, "keys": "shift+browser_forward" }
],
"profiles":
{
"defaults": {
"colorScheme": "Andromeda",
"selectionBackground": "#FFFFFF",
"opacity": 70,
"useAcrylic": true,
"startingDirectory": "C:\\Users\\ofek\\Desktop",
"padding": "4, 4, 4, 4",
"font": {
"face": "CaskaydiaCove Nerd Font",
"size": 12,
"features": {
"ss01": 1,
"liga": 1
}
},
"bellStyle": "all",
"experimental.useAtlasEngine": false,
"experimental.connection.passthroughMode": false
},
"list":
[
{
"guid": "{1cdf69ac-06b5-4a6f-9fb2-bf594c683073}",
"hidden": false,
"name": "xonsh",
"commandline": "C:\\Users\\ofek\\AppData\\Local\\Programs\\Python\\Python311\\python.exe -m xonsh",
"icon": "C:\\Users\\ofek\\AppData\\Local\\Packages\\Microsoft.WindowsTerminalPreview_8wekyb3d8bbwe\\RoamingState\\xonsh.png"
},
{
"guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
"hidden": false,
"name": "Windows PowerShell"
},
{
"guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
"hidden": false,
"name": "Command Prompt"
},
{
"guid": "{574e775e-4f2a-5b96-ac1e-a2962a402336}",
"hidden": false,
"name": "PowerShell",
"source": "Windows.Terminal.PowershellCore"
},
{
"guid": "{2c4de342-38b7-51cf-b940-2309a097f518}",
"hidden": false,
"name": "Ubuntu",
"source": "Windows.Terminal.Wsl"
},
{
"guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}",
"hidden": false,
"name": "Azure Cloud Shell",
"source": "Windows.Terminal.Azure"
},
{
"guid": "{67128ff7-83ea-54b4-bce0-f65dabb01753}",
"hidden": false,
"name": "Developer Command Prompt for VS 2019",
"source": "Windows.Terminal.VisualStudio"
},
{
"guid": "{00ead8f1-1057-5228-99b3-ce3a45a50ba6}",
"hidden": false,
"name": "Developer PowerShell for VS 2019",
"source": "Windows.Terminal.VisualStudio"
},
{
"guid": "{9fcb6b3a-b1e0-59d5-926b-0bddfb49d36d}",
"hidden": true,
"name": "Developer Command Prompt for VS 2017",
"source": "Windows.Terminal.VisualStudio"
},
{
"guid": "{a3a2e83a-884a-5379-baa8-16f193a13b21}",
"hidden": false,
"name": "PowerShell 7 Preview",
"source": "Windows.Terminal.PowershellCore"
}
]
},
"theme": "dark",
"schemes":
[
{
"name": "Andromeda",
"black": "#000000",
"red": "#cd3131",
"green": "#05bc79",
"yellow": "#e5e512",
"blue": "#2472c8",
"purple": "#bc3fbc",
"cyan": "#0fa8cd",
"white": "#e5e5e5",
"brightBlack": "#666666",
"brightRed": "#cd3131",
"brightGreen": "#05bc79",
"brightYellow": "#e5e512",
"brightBlue": "#2472c8",
"brightPurple": "#bc3fbc",
"brightCyan": "#0fa8cd",
"brightWhite": "#e5e5e5",
"background": "#262a33",
"foreground": "#e5e5e5",
"selectionBackground": "#5a5c62",
"cursorColor": "#f8f8f0"
}
]
}
Expected Behavior
Highlighted command is copied
Actual Behavior
It interrupts rather than copies
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 17 (15 by maintainers)
(Moved that discussion to #13438)