Skip to content
This repository has been archived by the owner on Jul 24, 2020. It is now read-only.

Input prompt. #4

Open
zorbyte opened this issue May 12, 2020 · 0 comments
Open

Input prompt. #4

zorbyte opened this issue May 12, 2020 · 0 comments
Labels
bug Something isn't working enhancement New feature or request help wanted Extra attention is needed

Comments

@zorbyte
Copy link
Owner

zorbyte commented May 12, 2020

Get an input prompt working, however my main concern is the extra usage of IO, as well as the interference with the sonic boom module, which allows logging to be less costly. If this has impact on throughput, I will not include it as a v1 feature and instead just create a CLI rcon client which relays logs. If such a thing is enabled, the default recommendation for logs will be for it to be stored in a file instead, however both stdout and a file can be used but the config will have a comment warning against such a thing.

Ideas for it:
Whenever something gets logged, it freezes the input prompt, buffers what was in the middle of being typed (if any), moves the cursor before the prompt (\r), logs, moves the cursor back to where it was and then puts the stdin text there.

@zorbyte zorbyte added bug Something isn't working enhancement New feature or request help wanted Extra attention is needed labels May 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant