kingToolbox / kingToolbox/WindTerm

[Sync Input] Synced screens don't handle Quick Command replacement properly

Open
#3,701 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
32.3k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

Description:

When using Sync Input in combination with Quick Command, synced screens do not replicate the behavior correctly compared to typing directly in the active screen.

Steps to Reproduce:

Enable Sync Input across multiple screens/tabs.

In one screen, type a few characters to trigger the Quick Command popup.

Press Enter to select a Quick Command.

Observe the behavior on the other synced screens.

Expected Behavior:
The synced screens should behave the same as the screen where the input was made — i.e., the typed characters should be replaced by the selected Quick Command.

Actual Behavior:
On the synced screens, the typed characters are not replaced. Instead, the result is the originally typed characters plus the selected Quick Command appended after them.

Example:

Type abc → Quick Command popup appears

Press Enter to select a Quick Command (e.g., hello)

Active screen: hello (characters replaced ✅)

Synced screens: abchello (characters not replaced ❌)

Number of synced screens: [e.g., 1+]

Additional Context:
This issue makes Sync Input unreliable when using Quick Command, since synced screens end up with inconsistent and incorrect input.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the issue with Sync Input enabled across multiple screens, then trace the Sync Input and Quick Command handling paths. Done means selecting a Quick Command replaces the triggered characters on every synced screen, matching the active screen.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.