fix(bin): protect tmux send-keys -l from leading-dash text with -- separator - #6
Open
marcusvpn1 wants to merge 3 commits into
Open
fix(bin): protect tmux send-keys -l from leading-dash text with -- separator#6marcusvpn1 wants to merge 3 commits into
marcusvpn1 wants to merge 3 commits into
Conversation
…parator agy brief delivery via fm_backend_tmux_send_literal (called through spawn_send_literal in fm-spawn.sh) breaks when a brief line starts with '-' (e.g. a markdown bullet), because tmux send-keys -l interprets it as a flag and aborts with 'command send-keys: invalid flag -'. Add -- separator to fm_backend_tmux_send_literal and fm_tmux_submit_core so a leading '-' in text content is never misread as a flag. Verified: tmux 3.7b, agy-harness tests pass (39/39).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix for agy brief delivery breaking on leading-dash lines. Adds -- separator to send-keys -l calls. 39/39 local tests pass. Shellcheck clean.