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

$get_term() should return ID of the terminal #47

Open
Assargadon opened this issue Jul 16, 2020 · 2 comments
Open

$get_term() should return ID of the terminal #47

Assargadon opened this issue Jul 16, 2020 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@Assargadon
Copy link

$get_msg() returns both the ID of the source node AND the message string.
But $get_term() only returns message string.

It's possible to connect several Terminals to one SaferLua Controller, but you can't send the answer string back to the user's terminal, because you don't know what terminal it is.

If something like msg, termID = $get_term() will be implemented, the, old scripts will continue to work, while new scripts will be able to utilize multi-terminal approach.

@joe7575 joe7575 added enhancement New feature or request help wanted Extra attention is needed labels Jul 21, 2020
@joe7575
Copy link
Owner

joe7575 commented Jul 21, 2020

This is not that easy. The controller can't distinguish commands from terminals

@Assargadon
Copy link
Author

Assargadon commented Jul 21, 2020

Ok, maybe after I'll install this extension locally to be able to test it, I'll overlook the code...maybe I'll be able to propose something, who knows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants