Skip to content

feat(cw): RX decode panes and callsign grab in the CW Send dialog - #8

Open
tcpreplay-dev wants to merge 1 commit into
feature/cw-send-dialogfrom
feature/cw-rx-decode
Open

tcpreplay-dev wants to merge 1 commit into
feature/cw-send-dialogfrom
feature/cw-rx-decode

Conversation

@tcpreplay-dev

Copy link
Copy Markdown
Owner

Stacked on #6.

Adds the two decoded-text panes (Main / Sub RX) to the CW Send dialog, fed from the K4's own decoder via TB/TB$, with prosign highlighting and a legend. Double-clicking a word in a pane grabs it into the Callsign field when it looks like a callsign.

The dialog is a passive consumer here — it never sends TD, it only listens and shows or hides each pane based on the decoder state the radio reports.

🤖 Generated with Claude Code

Adds read-only Main/Sub RX panes showing K4 text-decode output (passive
consumer of RadioState::textBufferReceived, never sends TD/TD$ itself),
shown only while the corresponding receiver's decode is actually running.
Double-click a decoded word to grab it into the Callsign field. Prosign
punctuation is highlighted and a legend explains the mapping.

Also, from live testing against the K4:
- macro F-keys merge onto whatever's typed but not yet sent instead of
  bypassing the input box, so "type callsign, hit macro" sends as one
  chunk with correct word-gap spacing on both edges
- typed CW text force-uppercases to match macro casing
- TX display auto-scrolls; RX panes disable native drag-selection so
  incoming text can't wipe a selection mid-copy
- macro buttons now live-refresh when edited via Options
- new Pause sending checkbox and a Clear button for the input field

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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.

1 participant