aboutsummaryrefslogtreecommitdiff
path: root/src/courtroom.h
diff options
context:
space:
mode:
authorOsmium Sorcerer <os@sof.beauty>2026-03-22 17:40:36 +0000
committerOsmium Sorcerer <os@sof.beauty>2026-03-29 22:22:25 +0000
commit7cc36dc9ccad26dad216217f0527c1fe5c1072eb (patch)
tree88560740395c22709045359ee9c1d9c4196cc2d8 /src/courtroom.h
parent834d2a370a1ca4c8ca36289ed9e6bd1bc1f69912 (diff)
Reset IC message text input on send
Instead of waiting for the incoming message and checking that you've sent it by comparing character IDs, reset it right away after pressing Enter. From the network standpoint, there's no reason to wait and acknowledge the IC message this way because TCP already ensures reliabile delivery. Removing this avoids sending duplicate messages during lag spikes. It also subjectively improves responsiveness. We lose a bit of convenience. The text box will be cleared even if your message was never broadcast (due to serverside mute, for example), but Ctrl+Z fixes that, and that's how OOC chat has always worked.
Diffstat (limited to 'src/courtroom.h')
0 files changed, 0 insertions, 0 deletions