tty

This is a discussion about tty in the Everything Linux category; hello i am trying to write a chat program. I use a server entity to broadcast a message send by an user , to all users. What i want to do is , after someone finished typing a message and hits enter , to make that line dissappear while at the same time allowing normal behavior to the read function.

Everything Linux 1798 This topic was started by ,


data/avatar/default/avatar30.webp

32 Posts
Location -
Joined 2004-10-13
hello
i am trying to write a chat program.
I use a server entity to broadcast a message send by an user , to all users.
What i want to do is , after someone finished typing a message and hits
enter , to make that line dissappear while at the same time allowing normal behavior to the read function.
the line will be received from the server later.
 
How can i accomplish this?
thanks

Participate in our website and join the conversation

You already have an account on our website? To log in, use the link provided below.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This subject has been archived. New comments and votes cannot be submitted.