Feature Request: Support arbitrary arguments for keybindings #1518

Closed
opened 2026-01-30 22:29:27 +00:00 by claunia · 1 comment
Owner

Originally created by @zadjii-msft on GitHub (Jun 4, 2019).

Originally assigned to: @zadjii-msft on GitHub.

From discussion with @carlos-zamora and @DHowett-MSFT, and possibly in #968

Keybindings need to support arbitrary args, so that the handlers can parse their own arg values.

{
    keys: ["ctrl+shift+c"],
    action: copy,
    args:{
        type: "mungeData"
    }
},
{
    keys: ["ctrl+shift+pgup"],
    action: scroll,
    args:{
        amount: -1
    }
}

This is a feature that needs to absolutely be spec'd before implemented.

Originally created by @zadjii-msft on GitHub (Jun 4, 2019). Originally assigned to: @zadjii-msft on GitHub. _From discussion with @carlos-zamora and @DHowett-MSFT, and possibly in #968_ Keybindings need to support arbitrary args, so that the handlers can parse their own arg values. ``` { keys: ["ctrl+shift+c"], action: copy, args:{ type: "mungeData" } }, { keys: ["ctrl+shift+pgup"], action: scroll, args:{ amount: -1 } } ``` This is a feature that needs to absolutely be spec'd before implemented.
Author
Owner

@ghost commented on GitHub (Nov 26, 2019):

:tada:This issue was addressed in #3391, which has now been successfully released as Windows Terminal Preview v0.7.3291.0.🎉

Handy links:

@ghost commented on GitHub (Nov 26, 2019): :tada:This issue was addressed in #3391, which has now been successfully released as `Windows Terminal Preview v0.7.3291.0`.:tada: Handy links: * [Release Notes](https://github.com/microsoft/terminal/releases/tag/v0.7.3291.0) * [Store Download](https://www.microsoft.com/store/apps/9n0dx20hk701?cid=storebadge&ocid=badge)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#1518