-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Currently the output processing is done via first casting the byte slice to a string and then processing each rune in that. This causes issues where we need to process the byte stream in a raw format. This commit alters the processing of the output stream, only casting to a rune when appropriate. This is a nessesarry prerequisite for transparent printing features. This commit also adds the state to the terminal struct, this allows for no side effects when dealing with multiple threads altering the state.
- Loading branch information
1 parent
dace678
commit 1c9d526
Showing
2 changed files
with
79 additions
and
55 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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