-
Story
-
Resolution: Done
-
Undefined
-
None
-
None
-
3
-
False
-
False
-
0
-
Undefined
-
Not Supported
-
-
ODC Sprint 198
Description
As a user, I want to be able to click a button from anywhere in the console that will execute a command in terminal
Acceptance Criteria
- Should be able to send data to terminal programmatically
- Should be able to open/maximize the terminal if it is closed/minimize when the user presses the execute button.
- Only hold the last executed command if user tries to execute more than one at a time.
Additional Details:
- Commands can be executed in the terminal from outside(quick starts) using the AttachAddon https://xtermjs.org/docs/api/addons/attach/
const term = new Terminal(); const socket = new WebSocket(url); const attachAddon = new AttachAddon(socket); // Attach the socket to terminal instance term.loadAddon(attachAddon); // Send command to terminal socket.send(`0${Base64.encode(commandData)}`)
- is blocked by
-
ODC-5547 Tech Debt: Upgrade xterm.js v3.12.0 to v4.10.0
- Closed
- links to