-
Notifications
You must be signed in to change notification settings - Fork 43
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
Chat issues #2061
Comments
#2063 should fix issues. Thanks for testing, but it's tempting to remove chat macros. Does anyone use them? |
I don't know, really, but I think they're worth keeping. |
How about this? We do not accept chat macros in the middle of a chat message: --- a/src/st_widgets.c
+++ b/src/st_widgets.c
@@ -396,7 +396,7 @@ boolean ST_MessagesResponder(event_t *ev)
else
{
// send a macro
- if (altdown)
+ if (altdown && chatline.pos == 0)
{
int ch = (ev->type == ev_keydown) ? ev->data1.i : 0;
|
But Choco/Vanilla allows the sending of macros in the middle of a chat message. |
Yes, but it doesn't serve any purpose. |
Chat macros don't serve any purpose either 😆 I think we should just merge #2063 for now. |
On that note, I didn't realize to mention that there are other such Ctrl + Alt combos where the third key isn't a number (e.g. Ctrl + Alt + the key next to P for Just like |
These cases should also be fixed by the little patch I posted above, at least if you don't try to post one of the special combos as the first character in a chat string. |
Tested in the latest master artifact (Win-64).
Chat macros prevent me from typing certain characters
My keyboard layout has some characters that can be typed by pressing a given key while holding Ctrl + Alt (e.g. Ctrl + Alt + 3 for
#
). However, Alt is also used for the chat macros, whose code comes before the normal input code. Not sure if something reasonable could be done about this.Backspace doesn't work with native keyboard mapping
Simple as that. Disabling
vanilla_keyboard_mapping
makes backspace work again.Input lock-ups when holding Alt while in the chat
If I hold Alt while the chat is active, pressing non-number keys will perform their action normally (e.g. pressing W without holding Alt types said character into the chat, but pressing W while holding Alt will move me forward). If I let go of Alt while holding said other keys, they'll become locked and continue performing their action until I press them again "properly" (i.e. through this Alt bug or by exiting the chat and pressing them).
The text was updated successfully, but these errors were encountered: