Skip to content

Added chat buffer, now memorizes chat#2123

Merged
oy merged 5 commits intoteeworlds:masterfrom
AssassinTee:BufferedChat
May 1, 2019
Merged

Added chat buffer, now memorizes chat#2123
oy merged 5 commits intoteeworlds:masterfrom
AssassinTee:BufferedChat

Conversation

@AssassinTee
Copy link
Contributor

Chat is memorized, until you send it. If you switch to another chat-mode, the buffer will be cleared

@Dune-jr
Copy link
Member

Dune-jr commented May 1, 2019

It works but there is no way of deleting the whole line other than by pressing Escape, so not being able to do that without changing chat modes is a bit counter-inuititve and clunky. Maybe Escape should keep its behavior and mouse clicks should allow a "soft exit"? Also I don't think messages should survive changing servers.

@AssassinTee
Copy link
Contributor Author

AssassinTee commented May 1, 2019

  • Delete buffer when leaving server
  • Use mouse1 instead of Escape for the saving buffer

wip

@AssassinTee
Copy link
Contributor Author

You can now come out of the chat with mouse1 and mouse2 (hook and fire) and your text is buffered and not lost.
The buffer is cleared when disconnecting.

@oy oy merged commit 95f2a6b into teeworlds:master May 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants