Skip to content

fix(ui): allow Trojan URLs in config input#50

Closed
MercilessMarcel wants to merge 4 commits into
MatinSenPai:mainfrom
MercilessMarcel:main
Closed

fix(ui): allow Trojan URLs in config input#50
MercilessMarcel wants to merge 4 commits into
MatinSenPai:mainfrom
MercilessMarcel:main

Conversation

@MercilessMarcel
Copy link
Copy Markdown
Contributor

Typing or pasting a trojan:// config into the optional config field could unexpectedly move focus to the next option instead of keeping the text in the input.

The issue was caused by the optional config screen treating normal typed characters like j, h, and l as navigation shortcuts before the focused URL input had a chance to handle them. Since trojan:// commonly contains those characters, entering a config could jump to the Top N row and prevent the full URL from being typed.

This changes the optional config handler so the URL field owns normal text input while it is focused. Explicit controls still work: Enter continues, Esc goes back, and the real down-arrow moves to Top N.

  • Added regression coverage for typing a Trojan URL into the config field
  • Added coverage that down-arrow navigation still moves to Top N

MercilessMarcel and others added 4 commits May 30, 2026 21:13
Workers could block while enqueueing neighbor probes, freezing progress
at arbitrary tested counts. Route dynamic scheduling through one queue
owner and bound WebSocket handshakes by the probe timeout.
@MercilessMarcel
Copy link
Copy Markdown
Contributor Author

image

oof

@MatinSenPai MatinSenPai closed this Jun 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants