Reset Tight zlib stream when deflater is recreated mid-session

Also scrub brand-name references from comments.
This commit is contained in:
Viktor Liu
2026-05-18 07:54:21 +02:00
parent 785f94d13f
commit 7e7e056f3a
6 changed files with 36 additions and 17 deletions
+1 -1
View File
@@ -206,7 +206,7 @@ func (w *WindowsInputInjector) InjectKey(keysym uint32, down bool) {
// InjectKeyScancode queues a raw-scancode key event. PC AT Set 1 maps
// directly onto what SendInput's KEYEVENTF_SCANCODE flag wants, so the
// only translation is splitting the optional 0xE0 prefix off into the
// KEYEVENTF_EXTENDEDKEY flag. keysym is the noVNC-provided fallback we
// KEYEVENTF_EXTENDEDKEY flag. keysym is the client-provided fallback we
// reach for if the scancode is zero.
func (w *WindowsInputInjector) InjectKeyScancode(scancode uint32, keysym uint32, down bool) {
if scancode == 0 {