microsoft/Terminal

sendInput doesn't seem to work in multipleActions

オープン

#13,444 opened on 2022/07/06

 (7 件のコメント) (12 件のリアクション) (0 人の担当者)C++ (9,275 件のフォーク)batch import
Area-InputArea-SettingsHelp WantedIssue-BugPriority-3Product-Terminal

Repository metrics

Stars
 (103,173 個のスター)
PR merge metrics
 (平均マージ 27d 19h) (30d で 24 merged PRs)

説明

Windows Terminal version

1.15.1863.0

Windows build number

10.0.22824.0

Other Software

No response

Steps to reproduce

I'm attempting to open a new tab and then send input in that new tab using the multipleActions command.

{
    "command": 
    {
        "action": "multipleActions",
        "actions": [
            {
                "action": "newTab"
            },
            {
                "action": "sendInput",
                "input": "\u001b[A"
            }
        ]
    },
    "name": "Send Input Test"
},

Expected Behavior

The new tab should have the input sent from sendInput, which in this case is as if I pressed the up arrow in my buffer.

Actual Behavior

sendInput seems to be completely ignored and my input line is empty.

コントリビューターガイド