Skip to content
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

Client doesn't print nickname before your messages #5

Open
BpArCuCTeMbI opened this issue Mar 6, 2017 · 3 comments
Open

Client doesn't print nickname before your messages #5

BpArCuCTeMbI opened this issue Mar 6, 2017 · 3 comments

Comments

@BpArCuCTeMbI
Copy link

Your client doesn't print your nickname before your messages.
It'll be better to add it. For example:

SoleSensei: solesensei's message.
Now it's just "solesensei message", without the nickname.

@solesensei
Copy link
Owner

solesensei commented Mar 6, 2017

Yep, thanks, thats right.
Now, you could comment one line in server.c to change that.
But it'll be like:

BpArCuCTeMbI's message
BpArCuCTeMbI: BpArCuCTeMbI's message

So i decided to not resend message back to yourself.

I thought about that, for example you could store client's nickname on client side in some buf and print it before your message, but i have no ideas how to clear current input string, and print message just once, may be overprint it...(?)

@dreais
Copy link

dreais commented Oct 7, 2019

hello! do you plan to continue this repository? if yes, i'd be glad to help fix this one. @ me if needed!

@solesensei
Copy link
Owner

hello! do you plan to continue this repository? if yes, i'd be glad to help fix this one. @ me if needed!

Hi, @dreais. I'm not working on this repo anymore, but you can PR this if you want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants