Missing instructions on how to cancel a long running operation. #15467

Closed
opened 2026-01-31 04:39:24 +00:00 by claunia · 14 comments
Owner

Originally created by @webmandman on GitHub (Oct 6, 2021).

In cmd and other terminals I can CTRL-C to stop ng serve operation. In windows terminal I can't do that. I'm looking through the stackoverflow, and documentation and I don't see an action that does this. Or any tips on how to add a custom action to do this.

Originally created by @webmandman on GitHub (Oct 6, 2021). <!-- Briefly describe which document needs to be corrected and why. --> In cmd and other terminals I can CTRL-C to stop `ng serve` operation. In windows terminal I can't do that. I'm looking through the stackoverflow, and documentation and I don't see an action that does this. Or any tips on how to add a custom action to do this.
claunia added the Needs-TriageNeeds-Tag-FixNeeds-AttentionIssue-Docs labels 2026-01-31 04:39:24 +00:00
Author
Owner

@DHowett commented on GitHub (Oct 6, 2021):

This is something that should just work. What is ng?

@DHowett commented on GitHub (Oct 6, 2021): This is something that should just work. What is `ng`?
Author
Owner

@webmandman commented on GitHub (Oct 6, 2021):

@DHowett ng is angular cli.

@webmandman commented on GitHub (Oct 6, 2021): @DHowett ng is angular cli.
Author
Owner

@webmandman commented on GitHub (Oct 6, 2021):

which is starting up a nodejs web server.

@webmandman commented on GitHub (Oct 6, 2021): which is starting up a nodejs web server.
Author
Owner

@zadjii-msft commented on GitHub (Oct 6, 2021):

What version of ng? What version of the Terminal? Can you share your settings.json? Any (albeit small) chance you have a selection active in the Terminal when pressing ctrl+c?

@zadjii-msft commented on GitHub (Oct 6, 2021): What version of `ng`? What version of the Terminal? Can you share your `settings.json`? Any (albeit small) chance you have a selection active in the Terminal when pressing ctrl+c?
Author
Owner

@webmandman commented on GitHub (Oct 6, 2021):

{
    "$schema": "https://aka.ms/terminal-profiles-schema",
    "actions": 
    [
        {
            "command": 
            {
                "action": "copy",
                "singleLine": false
            },
            "keys": "ctrl+c"
        },
        {
            "command": "find",
            "keys": "ctrl+shift+f"
        },
        {
            "command": "paste",
            "keys": "ctrl+v"
        },
        {
            "command": 
            {
                "action": "splitPane",
                "split": "auto",
                "splitMode": "duplicate"
            },
            "keys": "alt+shift+d"
        }
    ],
    "alwaysShowTabs": false,
    "copyFormatting": "none",
    "copyOnSelect": false,
    "defaultProfile": "{edb4a67f-c47a-5b4c-8893-7b8ab051e892}",
    "disableAnimations": true,
    "experimental.rendering.forceFullRepaint": true,
    "initialCols": 160,
    "initialRows": 67,
    "largePasteWarning": false,
    "launchMode": "default",
    "multiLinePasteWarning": false,
    "profiles": 
    {
        "defaults": {},
        "list": 
        [
            {
                "acrylicOpacity": 0.34999999999999998,
                "colorScheme": "One Half Dark",
                "commandline": "powershell.exe",
                "cursorShape": "filledBox",
                "font": 
                {
                    "face": "Anonymous Pro for Powerline"
                },
                "guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
                "hidden": false,
                "name": "Windows PowerShell",
                "scrollbarState": "hidden",
                "useAcrylic": false
            },
            {
                "colorScheme": "Solarized Dark",
                "commandline": "cmd.exe",
                "font": 
                {
                    "face": "DejaVu Sans Mono for Powerline"
                },
                "guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
                "hidden": false,
                "name": "Command Prompt"
            },
            {
                "guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}",
                "hidden": false,
                "name": "Azure Cloud Shell",
                "source": "Windows.Terminal.Azure"
            },
            {
                "guid": "{2ece5bfe-50ed-5f3a-ab87-5cd4baafed2b}",
                "hidden": false,
                "name": "Git Bash",
                "source": "Git"
            },
            {
                "acrylicOpacity": 0.78000000000000003,
                "antialiasingMode": "cleartype",
                "backgroundImage": null,
                "backgroundImageOpacity": 0.17000000000000001,
                "backgroundImageStretchMode": "none",
                "colorScheme": "Dracula",
                "commandline": "C:\\Users\\daniel.mejia\\scoop\\apps\\Commandbox\\current\\box.exe",
                "cursorShape": "filledBox",
                "experimental.retroTerminalEffect": false,
                "font": 
                {
                    "face": "DejaVu Sans Mono for Powerline",
                    "size": 10
                },
                "intenseTextStyle": "none",
                "name": "Commandbox",
                "padding": "5",
                "scrollbarState": "hidden",
                "startingDirectory": "%USERPROFILE%",
                "suppressApplicationTitle": true,
                "tabTitle": "Commandbox",
                "useAcrylic": false
            },
            {
                "acrylicOpacity": 0.45000000000000001,
                "backgroundImage": null,
                "backgroundImageAlignment": "top",
                "backgroundImageOpacity": 0.16,
                "backgroundImageStretchMode": "none",
                "bellStyle": "none",
                "colorScheme": "Campbell",
                "commandline": "wsl.exe ~ -d Ubuntu-20.04",
                "cursorHeight": 43,
                "cursorShape": "emptyBox",
                "experimental.retroTerminalEffect": false,
                "font": 
                {
                    "face": "DejaVu Sans Mono for Powerline"
                },
                "guid": "{07b52e3e-de2c-5db4-bd2d-ba144ed6c273}",
                "hidden": false,
                "name": "Ubuntu",
                "scrollbarState": "hidden",
                "source": "Windows.Terminal.Wsl",
                "startingDirectory": null,
                "useAcrylic": false
            },
            {
                "commandline": "wsl.exe ~ -d NixOS",
                "guid": "{c397f356-5e7b-55bc-956b-8cb4b9762c26}",
                "hidden": false,
                "name": "NixOS",
                "source": "Windows.Terminal.Wsl"
            },
            {
                "acrylicOpacity": 0.78000000000000003,
                "antialiasingMode": "cleartype",
                "backgroundImage": null,
                "backgroundImageOpacity": 0.17000000000000001,
                "backgroundImageStretchMode": "none",
                "colorScheme": "Dracula",
                "commandline": "C:\\Development\\Tools\\Commandbox\\box.exe",
                "cursorShape": "filledBox",
                "experimental.retroTerminalEffect": false,
                "font": 
                {
                    "face": "DejaVu Sans Mono for Powerline",
                    "size": 10
                },
                "guid": "{a9684815-03cd-4d9c-9cad-26196592ad81}",
                "intenseTextStyle": "none",
                "name": "Rise",
                "padding": "5",
                "scrollbarState": "hidden",
                "startingDirectory": "%USERPROFILE%",
                "suppressApplicationTitle": true,
                "tabTitle": "Rise and Sync",
                "useAcrylic": true
            }
        ]
    },
    "schemes": 
    [
        {
            "background": "#0C0C0C",
            "black": "#0C0C0C",
            "blue": "#0037DA",
            "brightBlack": "#767676",
            "brightBlue": "#3B78FF",
            "brightCyan": "#61D6D6",
            "brightGreen": "#16C60C",
            "brightPurple": "#B4009E",
            "brightRed": "#E74856",
            "brightWhite": "#F2F2F2",
            "brightYellow": "#F9F1A5",
            "cursorColor": "#FFFFFF",
            "cyan": "#3A96DD",
            "foreground": "#CCCCCC",
            "green": "#13A10E",
            "name": "Campbell",
            "purple": "#881798",
            "red": "#C50F1F",
            "selectionBackground": "#FFFFFF",
            "white": "#CCCCCC",
            "yellow": "#C19C00"
        },
        {
            "background": "#012456",
            "black": "#0C0C0C",
            "blue": "#0037DA",
            "brightBlack": "#767676",
            "brightBlue": "#3B78FF",
            "brightCyan": "#61D6D6",
            "brightGreen": "#16C60C",
            "brightPurple": "#B4009E",
            "brightRed": "#E74856",
            "brightWhite": "#F2F2F2",
            "brightYellow": "#F9F1A5",
            "cursorColor": "#FFFFFF",
            "cyan": "#3A96DD",
            "foreground": "#CCCCCC",
            "green": "#13A10E",
            "name": "Campbell Powershell",
            "purple": "#881798",
            "red": "#C50F1F",
            "selectionBackground": "#FFFFFF",
            "white": "#CCCCCC",
            "yellow": "#C19C00"
        },
        {
            "background": "#26292E",
            "black": "#070612",
            "blue": "#BD93F9",
            "brightBlack": "#6272A4",
            "brightBlue": "#0E90B0",
            "brightCyan": "#A4FFFF",
            "brightGreen": "#50FA7B",
            "brightPurple": "#C14BD9",
            "brightRed": "#C73B86",
            "brightWhite": "#FFFFFF",
            "brightYellow": "#40C963",
            "cursorColor": "#F8F8F2",
            "cyan": "#8BE9FD",
            "foreground": "#AB42BD",
            "green": "#898D96",
            "name": "Dracula",
            "purple": "#8C8D99",
            "red": "#FF5555",
            "selectionBackground": "#656970",
            "white": "#F8F8F2",
            "yellow": "#F1FA8C"
        },
        {
            "background": "#282C34",
            "black": "#282C34",
            "blue": "#61AFEF",
            "brightBlack": "#5A6374",
            "brightBlue": "#61AFEF",
            "brightCyan": "#56B6C2",
            "brightGreen": "#98C379",
            "brightPurple": "#C678DD",
            "brightRed": "#E06C75",
            "brightWhite": "#DCDFE4",
            "brightYellow": "#E5C07B",
            "cursorColor": "#FFFFFF",
            "cyan": "#56B6C2",
            "foreground": "#DCDFE4",
            "green": "#98C379",
            "name": "One Half Dark",
            "purple": "#C678DD",
            "red": "#E06C75",
            "selectionBackground": "#FFFFFF",
            "white": "#DCDFE4",
            "yellow": "#E5C07B"
        },
        {
            "background": "#FAFAFA",
            "black": "#383A42",
            "blue": "#0184BC",
            "brightBlack": "#4F525D",
            "brightBlue": "#61AFEF",
            "brightCyan": "#56B5C1",
            "brightGreen": "#98C379",
            "brightPurple": "#C577DD",
            "brightRed": "#DF6C75",
            "brightWhite": "#FFFFFF",
            "brightYellow": "#E4C07A",
            "cursorColor": "#4F525D",
            "cyan": "#0997B3",
            "foreground": "#383A42",
            "green": "#50A14F",
            "name": "One Half Light",
            "purple": "#A626A4",
            "red": "#E45649",
            "selectionBackground": "#FFFFFF",
            "white": "#FAFAFA",
            "yellow": "#C18301"
        },
        {
            "background": "#000000",
            "black": "#000000",
            "blue": "#268BD2",
            "brightBlack": "#073642",
            "brightBlue": "#839496",
            "brightCyan": "#93A1A1",
            "brightGreen": "#586E75",
            "brightPurple": "#6C71C4",
            "brightRed": "#CB4B16",
            "brightWhite": "#FDF6E3",
            "brightYellow": "#657B83",
            "cursorColor": "#FFFFFF",
            "cyan": "#2AA198",
            "foreground": "#839496",
            "green": "#859900",
            "name": "Solarized Dark",
            "purple": "#D33682",
            "red": "#DC322F",
            "selectionBackground": "#FFFFFF",
            "white": "#EEE8D5",
            "yellow": "#B58900"
        },
        {
            "background": "#FDF6E3",
            "black": "#002B36",
            "blue": "#268BD2",
            "brightBlack": "#073642",
            "brightBlue": "#839496",
            "brightCyan": "#93A1A1",
            "brightGreen": "#586E75",
            "brightPurple": "#6C71C4",
            "brightRed": "#CB4B16",
            "brightWhite": "#FDF6E3",
            "brightYellow": "#657B83",
            "cursorColor": "#002B36",
            "cyan": "#2AA198",
            "foreground": "#657B83",
            "green": "#859900",
            "name": "Solarized Light",
            "purple": "#D33682",
            "red": "#DC322F",
            "selectionBackground": "#FFFFFF",
            "white": "#EEE8D5",
            "yellow": "#B58900"
        },
        {
            "background": "#000000",
            "black": "#000000",
            "blue": "#3465A4",
            "brightBlack": "#555753",
            "brightBlue": "#729FCF",
            "brightCyan": "#34E2E2",
            "brightGreen": "#8AE234",
            "brightPurple": "#AD7FA8",
            "brightRed": "#EF2929",
            "brightWhite": "#EEEEEC",
            "brightYellow": "#FCE94F",
            "cursorColor": "#FFFFFF",
            "cyan": "#06989A",
            "foreground": "#D3D7CF",
            "green": "#4E9A06",
            "name": "Tango Dark",
            "purple": "#75507B",
            "red": "#CC0000",
            "selectionBackground": "#FFFFFF",
            "white": "#D3D7CF",
            "yellow": "#C4A000"
        },
        {
            "background": "#FFFFFF",
            "black": "#000000",
            "blue": "#3465A4",
            "brightBlack": "#555753",
            "brightBlue": "#729FCF",
            "brightCyan": "#34E2E2",
            "brightGreen": "#8AE234",
            "brightPurple": "#AD7FA8",
            "brightRed": "#EF2929",
            "brightWhite": "#EEEEEC",
            "brightYellow": "#FCE94F",
            "cursorColor": "#000000",
            "cyan": "#06989A",
            "foreground": "#555753",
            "green": "#4E9A06",
            "name": "Tango Light",
            "purple": "#75507B",
            "red": "#CC0000",
            "selectionBackground": "#FFFFFF",
            "white": "#D3D7CF",
            "yellow": "#C4A000"
        },
        {
            "background": "#000000",
            "black": "#000000",
            "blue": "#000080",
            "brightBlack": "#808080",
            "brightBlue": "#0000FF",
            "brightCyan": "#00FFFF",
            "brightGreen": "#00FF00",
            "brightPurple": "#FF00FF",
            "brightRed": "#FF0000",
            "brightWhite": "#FFFFFF",
            "brightYellow": "#FFFF00",
            "cursorColor": "#FFFFFF",
            "cyan": "#008080",
            "foreground": "#C0C0C0",
            "green": "#008000",
            "name": "Vintage",
            "purple": "#800080",
            "red": "#800000",
            "selectionBackground": "#FFFFFF",
            "white": "#C0C0C0",
            "yellow": "#808000"
        }
    ],
    "showTabsInTitlebar": true,
    "showTerminalTitleInTitlebar": false,
    "startOnUserLogin": true,
    "tabSwitcherMode": "disabled",
    "tabWidthMode": "equal",
    "theme": "light"
}
@webmandman commented on GitHub (Oct 6, 2021): ```json { "$schema": "https://aka.ms/terminal-profiles-schema", "actions": [ { "command": { "action": "copy", "singleLine": false }, "keys": "ctrl+c" }, { "command": "find", "keys": "ctrl+shift+f" }, { "command": "paste", "keys": "ctrl+v" }, { "command": { "action": "splitPane", "split": "auto", "splitMode": "duplicate" }, "keys": "alt+shift+d" } ], "alwaysShowTabs": false, "copyFormatting": "none", "copyOnSelect": false, "defaultProfile": "{edb4a67f-c47a-5b4c-8893-7b8ab051e892}", "disableAnimations": true, "experimental.rendering.forceFullRepaint": true, "initialCols": 160, "initialRows": 67, "largePasteWarning": false, "launchMode": "default", "multiLinePasteWarning": false, "profiles": { "defaults": {}, "list": [ { "acrylicOpacity": 0.34999999999999998, "colorScheme": "One Half Dark", "commandline": "powershell.exe", "cursorShape": "filledBox", "font": { "face": "Anonymous Pro for Powerline" }, "guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}", "hidden": false, "name": "Windows PowerShell", "scrollbarState": "hidden", "useAcrylic": false }, { "colorScheme": "Solarized Dark", "commandline": "cmd.exe", "font": { "face": "DejaVu Sans Mono for Powerline" }, "guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}", "hidden": false, "name": "Command Prompt" }, { "guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}", "hidden": false, "name": "Azure Cloud Shell", "source": "Windows.Terminal.Azure" }, { "guid": "{2ece5bfe-50ed-5f3a-ab87-5cd4baafed2b}", "hidden": false, "name": "Git Bash", "source": "Git" }, { "acrylicOpacity": 0.78000000000000003, "antialiasingMode": "cleartype", "backgroundImage": null, "backgroundImageOpacity": 0.17000000000000001, "backgroundImageStretchMode": "none", "colorScheme": "Dracula", "commandline": "C:\\Users\\daniel.mejia\\scoop\\apps\\Commandbox\\current\\box.exe", "cursorShape": "filledBox", "experimental.retroTerminalEffect": false, "font": { "face": "DejaVu Sans Mono for Powerline", "size": 10 }, "intenseTextStyle": "none", "name": "Commandbox", "padding": "5", "scrollbarState": "hidden", "startingDirectory": "%USERPROFILE%", "suppressApplicationTitle": true, "tabTitle": "Commandbox", "useAcrylic": false }, { "acrylicOpacity": 0.45000000000000001, "backgroundImage": null, "backgroundImageAlignment": "top", "backgroundImageOpacity": 0.16, "backgroundImageStretchMode": "none", "bellStyle": "none", "colorScheme": "Campbell", "commandline": "wsl.exe ~ -d Ubuntu-20.04", "cursorHeight": 43, "cursorShape": "emptyBox", "experimental.retroTerminalEffect": false, "font": { "face": "DejaVu Sans Mono for Powerline" }, "guid": "{07b52e3e-de2c-5db4-bd2d-ba144ed6c273}", "hidden": false, "name": "Ubuntu", "scrollbarState": "hidden", "source": "Windows.Terminal.Wsl", "startingDirectory": null, "useAcrylic": false }, { "commandline": "wsl.exe ~ -d NixOS", "guid": "{c397f356-5e7b-55bc-956b-8cb4b9762c26}", "hidden": false, "name": "NixOS", "source": "Windows.Terminal.Wsl" }, { "acrylicOpacity": 0.78000000000000003, "antialiasingMode": "cleartype", "backgroundImage": null, "backgroundImageOpacity": 0.17000000000000001, "backgroundImageStretchMode": "none", "colorScheme": "Dracula", "commandline": "C:\\Development\\Tools\\Commandbox\\box.exe", "cursorShape": "filledBox", "experimental.retroTerminalEffect": false, "font": { "face": "DejaVu Sans Mono for Powerline", "size": 10 }, "guid": "{a9684815-03cd-4d9c-9cad-26196592ad81}", "intenseTextStyle": "none", "name": "Rise", "padding": "5", "scrollbarState": "hidden", "startingDirectory": "%USERPROFILE%", "suppressApplicationTitle": true, "tabTitle": "Rise and Sync", "useAcrylic": true } ] }, "schemes": [ { "background": "#0C0C0C", "black": "#0C0C0C", "blue": "#0037DA", "brightBlack": "#767676", "brightBlue": "#3B78FF", "brightCyan": "#61D6D6", "brightGreen": "#16C60C", "brightPurple": "#B4009E", "brightRed": "#E74856", "brightWhite": "#F2F2F2", "brightYellow": "#F9F1A5", "cursorColor": "#FFFFFF", "cyan": "#3A96DD", "foreground": "#CCCCCC", "green": "#13A10E", "name": "Campbell", "purple": "#881798", "red": "#C50F1F", "selectionBackground": "#FFFFFF", "white": "#CCCCCC", "yellow": "#C19C00" }, { "background": "#012456", "black": "#0C0C0C", "blue": "#0037DA", "brightBlack": "#767676", "brightBlue": "#3B78FF", "brightCyan": "#61D6D6", "brightGreen": "#16C60C", "brightPurple": "#B4009E", "brightRed": "#E74856", "brightWhite": "#F2F2F2", "brightYellow": "#F9F1A5", "cursorColor": "#FFFFFF", "cyan": "#3A96DD", "foreground": "#CCCCCC", "green": "#13A10E", "name": "Campbell Powershell", "purple": "#881798", "red": "#C50F1F", "selectionBackground": "#FFFFFF", "white": "#CCCCCC", "yellow": "#C19C00" }, { "background": "#26292E", "black": "#070612", "blue": "#BD93F9", "brightBlack": "#6272A4", "brightBlue": "#0E90B0", "brightCyan": "#A4FFFF", "brightGreen": "#50FA7B", "brightPurple": "#C14BD9", "brightRed": "#C73B86", "brightWhite": "#FFFFFF", "brightYellow": "#40C963", "cursorColor": "#F8F8F2", "cyan": "#8BE9FD", "foreground": "#AB42BD", "green": "#898D96", "name": "Dracula", "purple": "#8C8D99", "red": "#FF5555", "selectionBackground": "#656970", "white": "#F8F8F2", "yellow": "#F1FA8C" }, { "background": "#282C34", "black": "#282C34", "blue": "#61AFEF", "brightBlack": "#5A6374", "brightBlue": "#61AFEF", "brightCyan": "#56B6C2", "brightGreen": "#98C379", "brightPurple": "#C678DD", "brightRed": "#E06C75", "brightWhite": "#DCDFE4", "brightYellow": "#E5C07B", "cursorColor": "#FFFFFF", "cyan": "#56B6C2", "foreground": "#DCDFE4", "green": "#98C379", "name": "One Half Dark", "purple": "#C678DD", "red": "#E06C75", "selectionBackground": "#FFFFFF", "white": "#DCDFE4", "yellow": "#E5C07B" }, { "background": "#FAFAFA", "black": "#383A42", "blue": "#0184BC", "brightBlack": "#4F525D", "brightBlue": "#61AFEF", "brightCyan": "#56B5C1", "brightGreen": "#98C379", "brightPurple": "#C577DD", "brightRed": "#DF6C75", "brightWhite": "#FFFFFF", "brightYellow": "#E4C07A", "cursorColor": "#4F525D", "cyan": "#0997B3", "foreground": "#383A42", "green": "#50A14F", "name": "One Half Light", "purple": "#A626A4", "red": "#E45649", "selectionBackground": "#FFFFFF", "white": "#FAFAFA", "yellow": "#C18301" }, { "background": "#000000", "black": "#000000", "blue": "#268BD2", "brightBlack": "#073642", "brightBlue": "#839496", "brightCyan": "#93A1A1", "brightGreen": "#586E75", "brightPurple": "#6C71C4", "brightRed": "#CB4B16", "brightWhite": "#FDF6E3", "brightYellow": "#657B83", "cursorColor": "#FFFFFF", "cyan": "#2AA198", "foreground": "#839496", "green": "#859900", "name": "Solarized Dark", "purple": "#D33682", "red": "#DC322F", "selectionBackground": "#FFFFFF", "white": "#EEE8D5", "yellow": "#B58900" }, { "background": "#FDF6E3", "black": "#002B36", "blue": "#268BD2", "brightBlack": "#073642", "brightBlue": "#839496", "brightCyan": "#93A1A1", "brightGreen": "#586E75", "brightPurple": "#6C71C4", "brightRed": "#CB4B16", "brightWhite": "#FDF6E3", "brightYellow": "#657B83", "cursorColor": "#002B36", "cyan": "#2AA198", "foreground": "#657B83", "green": "#859900", "name": "Solarized Light", "purple": "#D33682", "red": "#DC322F", "selectionBackground": "#FFFFFF", "white": "#EEE8D5", "yellow": "#B58900" }, { "background": "#000000", "black": "#000000", "blue": "#3465A4", "brightBlack": "#555753", "brightBlue": "#729FCF", "brightCyan": "#34E2E2", "brightGreen": "#8AE234", "brightPurple": "#AD7FA8", "brightRed": "#EF2929", "brightWhite": "#EEEEEC", "brightYellow": "#FCE94F", "cursorColor": "#FFFFFF", "cyan": "#06989A", "foreground": "#D3D7CF", "green": "#4E9A06", "name": "Tango Dark", "purple": "#75507B", "red": "#CC0000", "selectionBackground": "#FFFFFF", "white": "#D3D7CF", "yellow": "#C4A000" }, { "background": "#FFFFFF", "black": "#000000", "blue": "#3465A4", "brightBlack": "#555753", "brightBlue": "#729FCF", "brightCyan": "#34E2E2", "brightGreen": "#8AE234", "brightPurple": "#AD7FA8", "brightRed": "#EF2929", "brightWhite": "#EEEEEC", "brightYellow": "#FCE94F", "cursorColor": "#000000", "cyan": "#06989A", "foreground": "#555753", "green": "#4E9A06", "name": "Tango Light", "purple": "#75507B", "red": "#CC0000", "selectionBackground": "#FFFFFF", "white": "#D3D7CF", "yellow": "#C4A000" }, { "background": "#000000", "black": "#000000", "blue": "#000080", "brightBlack": "#808080", "brightBlue": "#0000FF", "brightCyan": "#00FFFF", "brightGreen": "#00FF00", "brightPurple": "#FF00FF", "brightRed": "#FF0000", "brightWhite": "#FFFFFF", "brightYellow": "#FFFF00", "cursorColor": "#FFFFFF", "cyan": "#008080", "foreground": "#C0C0C0", "green": "#008000", "name": "Vintage", "purple": "#800080", "red": "#800000", "selectionBackground": "#FFFFFF", "white": "#C0C0C0", "yellow": "#808000" } ], "showTabsInTitlebar": true, "showTerminalTitleInTitlebar": false, "startOnUserLogin": true, "tabSwitcherMode": "disabled", "tabWidthMode": "equal", "theme": "light" } ```
Author
Owner

@webmandman commented on GitHub (Oct 6, 2021):

I make sure there is nothing selected before I ctrl-c. NG cli version is v12. and WT is 1.10.2383.0

@webmandman commented on GitHub (Oct 6, 2021): I make sure there is nothing selected before I ctrl-c. NG cli version is v12. and WT is 1.10.2383.0
Author
Owner

@zadjii-msft commented on GitHub (Oct 6, 2021):

Hmm. https://github.com/angular/angular-cli/issues/19531 looks related, but that is supposedly fixed in https://github.com/angular/angular-cli/pull/19540 which is fixed in https://github.com/angular/angular-cli/releases/tag/12.1.3.

Can you try updating to 12.1.3?

Does this repro in a vintage console host window (e.g. conhost.exe)?

@zadjii-msft commented on GitHub (Oct 6, 2021): Hmm. https://github.com/angular/angular-cli/issues/19531 looks related, but that is supposedly fixed in https://github.com/angular/angular-cli/pull/19540 which is fixed in https://github.com/angular/angular-cli/releases/tag/12.1.3. Can you try updating to 12.1.3? Does this repro in a vintage console host window (e.g. `conhost.exe`)?
Author
Owner

@webmandman commented on GitHub (Oct 6, 2021):

sorry I didn't give you the exact version. I'm on 12.2.5.

But nevermind on this issue. I open WT windows with the command line: commandbox/box.exe When I use cmd.exe or powershell.exe in WT ctrl-c works just fine.

I'm pretty sure its commandbox. Thank you @zadjii-msft

@webmandman commented on GitHub (Oct 6, 2021): sorry I didn't give you the exact version. I'm on 12.2.5. But nevermind on this issue. I open WT windows with the command line: commandbox/box.exe When I use cmd.exe or powershell.exe in WT ctrl-c works just fine. I'm pretty sure its commandbox. Thank you @zadjii-msft
Author
Owner

@zadjii-msft commented on GitHub (Oct 6, 2021):

No worries, glad we got this figured out!

@zadjii-msft commented on GitHub (Oct 6, 2021): No worries, glad we got this figured out!
Author
Owner

@webmandman commented on GitHub (Oct 6, 2021):

@zadjii-msft last question: When I open a WT window with cmd.exe or powershell, then run a command like ng or npx I notice the tab title changes to that command. So are commands being logged in some history table I can access?

@webmandman commented on GitHub (Oct 6, 2021): @zadjii-msft last question: When I open a WT window with cmd.exe or powershell, then run a command like `ng` or `npx` I notice the tab title changes to that command. So are commands being logged in some history table I can access?
Author
Owner

@webmandman commented on GitHub (Oct 6, 2021):

I know I can to see the history. But thats the history recorded in each command line tool, ie cmd.exe. I want see what WT is recording, because when I use commandbox/box.exe the tab title doesn't change when I run any command. So I want to help debug this for commandbox. How can I debug it from the WT side of things?

@webmandman commented on GitHub (Oct 6, 2021): I know I can <tab> to see the history. But thats the history recorded in each command line tool, ie cmd.exe. I want see what WT is recording, because when I use commandbox/box.exe the tab title doesn't change when I run any command. So I want to help debug this for commandbox. How can I debug it from the WT side of things?
Author
Owner

@zadjii-msft commented on GitHub (Oct 6, 2021):

Yes, ish. cmd and powershell both have different ways of storing the command history. I think PSReadline has a .history file of some sort that it writes the history to (though, I could be mistaken). cmd.exe only persists the command history with SetConsoleHistoryInfo

@zadjii-msft commented on GitHub (Oct 6, 2021): Yes, ish. cmd and powershell both have different ways of storing the command history. I think PSReadline has a .history file of some sort that it writes the history to (though, I could be mistaken). cmd.exe only persists the command history with [SetConsoleHistoryInfo](https://docs.microsoft.com/en-us/windows/console/setconsolehistoryinfo)
Author
Owner

@zadjii-msft commented on GitHub (Oct 6, 2021):

Ah okay. No, we don't store anything like that. What CMD and Powershell are doing is setting the console title, both probably via SetConsoleTitle. CommandBox must not be doing that.

They could alternatively (and preferably) use the VT escape sequence for setting the title, OSC 2

@zadjii-msft commented on GitHub (Oct 6, 2021): Ah okay. No, we don't store anything like that. What CMD and Powershell are doing is setting the console title, both probably via [`SetConsoleTitle`](https://docs.microsoft.com/en-us/windows/console/setconsoletitle). CommandBox must not be doing that. They could alternatively (and preferably) use the VT escape sequence for setting the title, [`OSC 2`](https://invisible-island.net/xterm/ctlseqs/ctlseqs.html#h3-Operating-System-Commands)
Author
Owner

@webmandman commented on GitHub (Oct 6, 2021):

ok thank you.

@webmandman commented on GitHub (Oct 6, 2021): ok thank you.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#15467