summaryrefslogtreecommitdiff
path: root/ChatMultiConsole.c
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2025-08-17 22:31:33 +0100
committerDave Hibberd <hibby@debian.org>2025-08-17 22:31:33 +0100
commit27d95452b1e341f55154c967320d1d8920b089c0 (patch)
tree5c9ce843e16802ef6dcdfc04ac8ea435b382564c /ChatMultiConsole.c
parentd97d9d821bce50846d1f31290fffc3a447862bce (diff)
parente925e16114a18c7a0db4c016c176a149f5f67ab3 (diff)
Update upstream source from tag 'upstream/6.0.24.82+repack'
Update to upstream version '6.0.24.82+repack' with Debian dir a145ad04db4f8d413df5d1fe2c051f9842774c35
Diffstat (limited to 'ChatMultiConsole.c')
-rw-r--r--ChatMultiConsole.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/ChatMultiConsole.c b/ChatMultiConsole.c
index 78308c6..cc70f18 100644
--- a/ChatMultiConsole.c
+++ b/ChatMultiConsole.c
@@ -999,8 +999,11 @@ LRESULT APIENTRY InputProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
// Send cursor right
- SendMessage(Cinfo->hwndInput, WM_KEYDOWN, VK_RIGHT, 0);
- SendMessage(Cinfo->hwndInput, WM_KEYUP, VK_RIGHT, 0);
+ for (i = 0; i < strlen(Cinfo->kbbuf); i++)
+ {
+ SendMessage(Cinfo->hwndInput, WM_KEYDOWN, VK_RIGHT, 0);
+ SendMessage(Cinfo->hwndInput, WM_KEYUP, VK_RIGHT, 0);
+ }
return 0;
}