Skip to content

fix(itmux): paste-buffer path for >12KB prompts (bracketed paste + named buffer)#234

Closed
NeuralEmpowerment wants to merge 1 commit into
fix/itmux-poll-resiliencefrom
fix/itmux-paste-buffer
Closed

fix(itmux): paste-buffer path for >12KB prompts (bracketed paste + named buffer)#234
NeuralEmpowerment wants to merge 1 commit into
fix/itmux-poll-resiliencefrom
fix/itmux-paste-buffer

Conversation

@NeuralEmpowerment

Copy link
Copy Markdown
Contributor

Plan 1a Task 5 (stacked on #233). send_literal switches to a load-buffer/paste-buffer path above 12,000 bytes so large prompts are not truncated by tmux send-keys (~16KB cap). Full parity with PY:645-707: load-buffer -b <name> - (payload via stdin, no temp file), paste-buffer -p -b <name> -d -t <pane>. The -p (bracketed paste) makes a multiline prompt paste atomically instead of each newline acting as Enter (fixes the historical early-submit fragmentation); named buffer avoids default-buffer races; -d cleans up. cargo test green (8 send_literal); clippy/fmt clean. Tracks okrs-51p.6.

@NeuralEmpowerment

Copy link
Copy Markdown
Contributor Author

Consolidated into a single itmux feature PR: #243. This work is included there (same commits); closing to reduce PR sprawl. Review/merge #243 instead.

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