Skip to content

Conversation

raphamorim
Copy link
Owner

This is a proposal of terminal protocol

# Set selection from row 5, column 10 to row 8, column 45
printf '\033]53;s;5,10;8,45\033\\'

# Clear selection
printf '\033]53;c\033\\'

# Query current selection
printf '\033]53;q\033\\'

# Copy selection to clipboard
printf '\033]53;y\033\\'

# Select entire first line (columns 0-79)
printf '\033]53;s;0,0;0,79\033\\'

# Select a block from row 2, col 5 to row 10, col 30
printf '\033]53;s;2,5;10,30\033\\'

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