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

single subprocess per TERM type #1

Open
haliphax opened this issue Mar 1, 2021 · 3 comments
Open

single subprocess per TERM type #1

haliphax opened this issue Mar 1, 2021 · 3 comments
Labels
question Further information is requested

Comments

@haliphax
Copy link
Owner

haliphax commented Mar 1, 2021

Right now, a new subprocess is spun up for each connection in order to isolate a curses terminal with the connection's term type. Instead, a dict of subprocesses with termtype as the key could be used such that only a single subprocess per term type would be necessary. This should double the number of connections that the system is able to maintain (roughly, in theory).

Original idea credit to jquast, as with most of the terminal package.

@haliphax haliphax added the enhancement New feature or request label Mar 1, 2021
@haliphax
Copy link
Owner Author

inkey will be hard af with this.

@haliphax haliphax closed this as completed Aug 5, 2022
@haliphax haliphax reopened this Mar 8, 2023
@haliphax haliphax changed the title single subprocess for each terminal type single subprocess per TERM type Mar 8, 2023
@haliphax
Copy link
Owner Author

haliphax commented Oct 5, 2023

may be superseded by #111

@haliphax
Copy link
Owner Author

need to test rich and textual to see if they respect the _environ setting or if it is per-process

@haliphax haliphax added question Further information is requested and removed enhancement New feature or request labels Oct 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant