2025年10月23日 星期四

GitHub Copilot CLI在Windows Terminal按Shift+Enter換行

目前v0.0349仍無法直接設定,但可修改Windows Terminal設定檔以達成相同目的。

{

    "actions":

    [

        //#region 新增這段

        {

            "command":

            {

                "action": "sendInput",

                "input": "\n"

            },

            "id": "linefeed"

        }

        //#endregion

    ],

    "keybindings":

    [

        //#region 新增這段

        {

            "id": "linefeed",

            "keys": "shift+enter"

        }

        //#endregion

    ]

}


參考來源:CLI should support multi-line mode in input box