Replies: 1 comment 3 replies
-
The ideal would be to do similar to what the Terminal plugin does. I think they use xtrem.js, it shows the colors and everything necessary without having to do much. Currently the modal does not support much text and ends up cutting it off, leaving a lot of text undisplayed. It also does not allow you to make it larger to show more text. It is not necessary to integrate a shell like terminal does, but at least the visualization of the executed commands could be done the same. When the Ask after execution is executed, an instance-tab opens and you can decide in settings how you want it. Options: |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is how the Ask after execution output modal currently looks like:
(The screennshot is from SC
0.11.1
, although the modal looks the same also in0.22.0
.)Embed a rich editor field
I'd like to embed a CodeMirror editor to the modal to replace the current simple
<textarea>
field. I think this could offer some benefits:Switch the modal into a tab (added 2024-05-12)
Other things
SC-output-modal-w3ocyqvjxb
: A shell command specific CSS class. Allows customizing a single shell command's output modal via CSS. The last part of the CSS class is a shell command's id, so it depends on the targeted shell command.SC-output-modal
: All ouput modals of any shell commands should receive this class. Allows adding CSS customizations that affect all output modals. (Edit 2024-05-11: I just noticed there's currentlySC-modal-output
CSS class, but its not documented. Anyway, I want to rename it toSC-output-modal
to be in line withSC-prompt-modal
).SC-prompt-modal
andSC-prompt-modal-w3ocyqvjxb
that are already available for Prompts.Beta Was this translation helpful? Give feedback.
All reactions