Skip to content

Osc133 output-aware commands - #5597

Open
mgrant0 wants to merge 4 commits into
masterfrom
osc133_output_commands
Open

mgrant0 wants to merge 4 commits into
masterfrom
osc133_output_commands

Conversation

@mgrant0

@mgrant0 mgrant0 commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

This PR supercedes #5574. That PR was based on #5415. To make things easier to review, this has been reversed now. With this PR the collapsible PR can be merged later.

Add these only as send-keys -X commands:

  • select-output
  • copy-output
  • copy-pipe-output
  • pipe-output
  • open-output
  • open-selection
  • pipe-selection

@nicm

nicm commented Sep 28, 2026

Copy link
Copy Markdown
Member

Waiting for some changes from @mgrant0.

@mgrant0
mgrant0 force-pushed the osc133_output_commands branch from a8b05dd to 4b8c1f2 Compare September 29, 2026 09:04
@mgrant0

mgrant0 commented Sep 29, 2026

Copy link
Copy Markdown
Contributor Author

@nicm rebased this on master now and fixed things you commented to me on, tidied up things. Ready for your review.

Handle C and D on the same line, output ending on the next prompt's
line, and output starting on a prompt line. Keep the output columns
when A resets a line's prompt data, and fall back to the previous
output if the range is empty. Extend the regress test to cover these
and reset the paste buffer before each check.
@mgrant0
mgrant0 force-pushed the osc133_output_commands branch from 4b8c1f2 to 0a82ccc Compare October 3, 2026 09:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: For Review

Development

Successfully merging this pull request may close these issues.

commands to do stuff with osc133 marked up output pipe-selection and open-selection

2 participants