Feature: TUI mode - #91
Open
aphased wants to merge 5 commits into
Open
Conversation
- terminal user interface wrapping around the stdin/stdout messages from
before
- easier typing for console/admin access: new incoming (i.e. hypixel
server) messages do not overwrite typed input anymore with this
separation
- clearer distinction (or rather, one at all for the first time) between
minecraft chat, discord activity, and system messages/logging. also,
console-sent messages can easily be reviewed later
- default behavior is to launch with the new `--tui`; `--no-tui`
effectively restores the previous mode
- also fixed showing raw JSON for the kick reason (see below for an
example)
- immense swag factor, too
- we are a React project now
*example of previously unparsed kick message (yes, this actually
happened and occurred just while implementing):
"09:58:03 SYSTEM Kicked from server for reason: {"type":"compound","value":{"extra":{"type":"list","value":{"type":"compound","value":[{"color":{"type":"string","value":"red"},"text":{"type":"string","value":"Mojang's session servers are currently offline. Try again later."}}]}},"text":{"type":"string","value":""}}}"
(shift-tab was way too buggy, unfortunately, for some reason – removed again) also added and fixed many more keybinds and states/modes
(hopefully)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Massively improves the (admin) user experience when using the bot via "CLI"/console