-
Notifications
You must be signed in to change notification settings - Fork 17
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
Ability to draw on top of an "existing" terminal output #2
Comments
I think it would be really great if you could pass input to annotate over
One problem I can see though is that some programs will strip unicode characters when piped which means we'd lose color that way :( |
Another potential factor is double-width (wide) characters. This may not be a concern for current user input, but wide chars could very well be piped into Here's an example of using a wide char with the current version. I wrote out the text and then attempted to draw a single box around it: I bring this up because various CLIs have begun incorporating emojis in their output. Take for example the output of kind:
|
Yes, there definitely should be handling for double-width characters: Thinking out loud: my thinking is that we can reserve a special character to insert after (to the right of) any character that is > 2 character width in the |
Describe the solution you'd like
I think it would be nice to have the ability to draw on an existing output in the terminal.
An example use case:
draw
and it takes a "screenshot" of existing output, allowing to draw on top of thatDescribe alternatives you've considered
None
The text was updated successfully, but these errors were encountered: