Replies: 3 comments
-
Have a look at this doco. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks. From reading those docs it seems like I should be using the I'll have to experiment and see if I can get it to work without making it so complex it detracts from the actual code I'm trying to demonstrate :-) |
Beta Was this translation helpful? Give feedback.
0 replies
-
You probably need to send a newline to the console to make things scroll up
and then reprint the prompt.
…On Mon, 24 July 2023, 4:37 pm Daniel Cachapa, ***@***.***> wrote:
Thanks. From reading those docs it seems like I should be using the row
operator to position the cursor whenever a new message arrives.
I'll have to experiment and see if I can get it to work without making it
so complex it detracts from the actual code I'm trying to demonstrate :-)
—
Reply to this email directly, view it on GitHub
<#220 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAG32ODVANX3WPIIX6TIJNTXRYJ3ZANCNFSM6AAAAAA2UMEW44>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
cachapa
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm building a sample CLI chat app for a new package, and I need a very basic UI that simply allows the user to type their message at the bottom of the screen, while seeing messages appear above it.
Essentially it should look something like this:
The world of CLI formatting tools is a bit overwhelming, so I was hoping that someone can guide me towards a simple solution. I don't really need to take over the entire terminal, or to nail down usability since it's just a demo app.
Beta Was this translation helpful? Give feedback.
All reactions