[Chat feature] Reverse order in chat completion

Request help for teeworlds-related subjects (mapping, servers, ..).
For client issues, see our repositories (https://github.com/ddnet/ddnet/issues).
Post Reply
Wohoo
Posts: 22
Joined: Sat Oct 04, 2014 8:42 pm

[Chat feature] Reverse order in chat completion

Post by Wohoo »

Hi, I found that client miss this important feature.
I know that I can look for name of other players pressing TAB in chat, but if I press TAB once more it's not possible go in reverse order.
In many games it is possible just pressing SHIFT+TAB.
It could be very usefull when up to 64 people are connected to the server. Infact I personally press TAB rapidly to find a name, but too many times i go over and need to list all names again.
This would be a really nice feature!
User avatar
Broken
Posts: 404
Joined: Sat May 10, 2014 12:25 pm
Player profile: http://ddnet.tw/players/Broken/
Mapper profile: http://ddnet.tw/mappers/Broken/

Re: [Chat feature] Reverse order in chat completion

Post by Broken »

i agree i always go one over the name xD
User avatar
MrAppendixX
Posts: 120
Joined: Sat May 10, 2014 6:59 pm
Player profile: http://ddnet.tw/players/MrAppendixX/

Re: [Chat feature] Reverse order in chat completion

Post by MrAppendixX »

Hehe yes plx :D
User avatar
Lady Saavik
Posts: 1763
Joined: Tue May 13, 2014 4:02 pm
Player profile: http://ddnet.tw/players/Lady-32-Saavik/
Mapper profile: http://ddnet.tw/mappers/Saavik/

Re: [Chat feature] Reverse order in chat completion

Post by Lady Saavik »

I had this idea and deen said it's impossible :(
Index
Posts: 1133
Joined: Mon May 05, 2014 7:30 pm
Clan: Eagle

Re: [Chat feature] Reverse order in chat completion

Post by Index »

Well, I'm pretty sure it would be possible but really difficult to implement.
For now you can simply write a few letters of the name and then press TAB for auto completion, so you don't have to tab through all names :3
Wohoo
Posts: 22
Joined: Sat Oct 04, 2014 8:42 pm

Re: [Chat feature] Reverse order in chat completion

Post by Wohoo »

I think it is possible, something like:

Code: Select all

if(Event.m_Flags&IInput::FLAG_PRESS && Event.m_Key == KEY_LSHIFT)
{
	completion_order_positive = false;
}
else if(Event.m_Flags&IInput::FLAG_RELEASE && Event.m_Key == KEY_LSHIFT)
{
	completion_order_positive = true;
}
I'll try...
User avatar
deen
TECHNICAL Team
Posts: 3576
Joined: Mon May 05, 2014 2:30 pm
Player profile: https://ddnet.org/players/deen/
Discord: deen#5910

Re: [Chat feature] Reverse order in chat completion

Post by deen »

Will be in the next client release thanksto Wohoo.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest