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

Input prompt. #4

Description

@zorbyte

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions