Addition of a buttons/button bar #20404

Closed
opened 2026-01-31 07:12:46 +00:00 by claunia · 4 comments
Owner

Originally created by @tasosptl on GitHub (Aug 24, 2023).

Description of the new feature/enhancement

This feature/improvement will allow the user the ability to create custom clickable button where he can specify the action that will be performed once clicked. This could be a group of commands that he/she uses for day to day work.

Programmable buttons is one of the reasons that me as a network engineer I choose the competitor (can't name) over MS Terminal. This will reduce the repetitive copy-paste of common troubleshooting commands from notepad/OneNote to the terminal.

Proposed technical implementation details (optional)

The idea is to allow the user to add an additional bar (either on top or at the bottom of the terminal screen) similar to the picture where he or she will be able to add the buttons:

image

The buttons should have a label (what is seen on the screen next to each button), a string that will be send and additional actionable commands such as "send carriage return" or "send a newline".

Originally created by @tasosptl on GitHub (Aug 24, 2023). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> # Description of the new feature/enhancement This feature/improvement will allow the user the ability to create custom clickable button where he can specify the action that will be performed once clicked. This could be a group of commands that he/she uses for day to day work. Programmable buttons is one of the reasons that me as a network engineer I choose the competitor (can't name) over MS Terminal. This will reduce the repetitive copy-paste of common troubleshooting commands from notepad/OneNote to the terminal. <!-- A clear and concise description of what the problem is that the new feature would solve. Describe why and how a user would use this new functionality (if applicable). --> # Proposed technical implementation details (optional) The idea is to allow the user to add an additional bar (either on top or at the bottom of the terminal screen) similar to the picture where he or she will be able to add the buttons: <img width="247" alt="image" src="https://github.com/microsoft/terminal/assets/53862819/b03101be-6773-492e-87ac-ef6987f93cbf"> The buttons should have a label (what is seen on the screen next to each button), a string that will be send and additional actionable commands such as "send carriage return" or "send a newline". <!-- A clear and concise description of what you want to happen. -->
claunia added the Issue-FeatureResolution-Duplicate labels 2026-01-31 07:12:46 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Aug 24, 2023):

Amazingly enough, we had almost the exact same request earlier this week: #15851. To crib from that issue:

A lot of that already seems possible today with the sendInput action. That'll let you save an action to your settings that will send a string of characters to the Terminal. Those'll show up in the Command Palette today.

To build on that:

So, I'm guessing that there's a dupe somewhere in the nexus of all those - sound about right/?

@zadjii-msft commented on GitHub (Aug 24, 2023): Amazingly enough, we had almost the exact same request earlier this week: #15851. To crib from that issue: > A lot of that already seems possible today with the [`sendInput`](https://learn.microsoft.com/en-us/windows/terminal/customize-settings/actions#send-input) action. That'll let you save an action to your settings that will send a string of characters to the Terminal. Those'll show up in the Command Palette today. > > To build on that: > > * #3759 > - "I want to customize the new tab dropdown with my own actions too" > * #2934 > - also, #3459 > - "I want a toolbar where I can put arbitrary buttons that do things" > - This would follow #3759 > * #1595 > - Vaguely similar. Another way of using `sendInput` actions a little easier. > - "I want an easy UI for activating saved scripts" > - We'll almost certainly be doing more with "tasks" in the future, ala #12857 > So, I'm guessing that there's a dupe somewhere in the nexus of all those - sound about right/?
Author
Owner

@tasosptl commented on GitHub (Aug 24, 2023):

All those requests look quite similar to what I have requested. Is the sendInput a clickable item that can be customized per use case (so every user to be able to specify the string that he needs to send)?
Also, will the user be able to create more than one different sendInput items?

@tasosptl commented on GitHub (Aug 24, 2023): All those requests look quite similar to what I have requested. Is the sendInput a clickable item that can be customized per use case (so every user to be able to specify the string that he needs to send)? Also, will the user be able to create more than one different sendInput items?
Author
Owner

@zadjii-msft commented on GitHub (Aug 24, 2023):

Is the sendInput a clickable item

Well, sorta? It'll show up in the Command Palette, and in 1.19 it'll be in the Suggestions UI (for tasks - added in #15664).

will the user be able to create more than one different sendInput items

Yep - it's an action just like any other Terminal action, so you can create as many as you want and bind to whatever you feel like.

/dup #3759
/dup #2934

@zadjii-msft commented on GitHub (Aug 24, 2023): > Is the sendInput a clickable item Well, sorta? It'll show up in the Command Palette, and in 1.19 it'll be in the Suggestions UI (for `tasks` - added in #15664). > will the user be able to create more than one different sendInput items Yep - it's an action just like any other Terminal action, so you can create as many as you want and bind to whatever you feel like. /dup #3759 /dup #2934
Author
Owner

@microsoft-github-policy-service[bot] commented on GitHub (Aug 24, 2023):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@microsoft-github-policy-service[bot] commented on GitHub (Aug 24, 2023): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#20404