Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement idea: script window #250

Open
sproctor opened this issue Jul 13, 2022 · 1 comment
Open

Enhancement idea: script window #250

sproctor opened this issue Jul 13, 2022 · 1 comment

Comments

@sproctor
Copy link
Contributor

Lich could create a window and display current running scripts with links to control them.

I'm not super familiar with the code base, but if it's something that would be accepted, I could make an attempt at it.

My proposal:

Send <streamWindow id="script" title="Scripts"/> when starting.

Depending on which is easier either:

When a script is created send:

<clearStream id="script"/>
<pushStream id="script">
<compDef id="script {scriptName}"/>
...
<popStream id="script"/>

Then whenever a script is updated send <component id="script {scriptName}">{scriptName} <d>;pause {scriptName}">pause</d></component>

Or do that without components and send a clearStream and the entire window contents on every script change.

I think can be replaced by to make the text and command different, or do commands need to come from the dictionary?

@MahtraDR
Copy link
Contributor

I like this idea. We just recently created a method to facilitate sending output to any given window on the dr-scripts side. It'd be neat if we could normalize this from the lich side too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants