Skip to content

feat: block selection#127

Merged
xtyxtyx merged 11 commits intoTerminalStudio:masterfrom
tauu:v3-block-selection
Sep 17, 2022
Merged

feat: block selection#127
xtyxtyx merged 11 commits intoTerminalStudio:masterfrom
tauu:v3-block-selection

Conversation

@tauu
Copy link
Copy Markdown
Contributor

@tauu tauu commented Sep 13, 2022

This PR enables selecting a block within the terminal buffer. For this purpose an additional class BufferRangeBlock is created. The current BufferRange is renamed to BufferRangeLine and a common interface BufferRange is created for both classes. Switching between block and line selection is done using the TerminalController.

Selecting a block of text is useful e.g. if data is shown in a tabular format in the terminal and one is only interested in copying the data in some columns.

@xtyxtyx xtyxtyx self-assigned this Sep 14, 2022
@xtyxtyx xtyxtyx merged commit 130d5fa into TerminalStudio:master Sep 17, 2022
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.

2 participants