When sending keys via tmux send-keys, there is a race condition where the Enter key can be processed before the pasted text completes. This causes messages to appear in the prompt but not be submitted. - Add SendKeysDebounced method with configurable delay between paste and Enter - Update SendKeys to use 100ms default debounce - Update Inject to scale debounce based on message size (100ms + 50ms/KB) Fixes beads-62h
353 KiB
353 KiB