notty
notty copied to clipboard
Integrating with system clipboard
Currently you can't copy the output of the terminal or paste input into it. This needs to be addressed.
There's also the issue of bracketed paste mode, but that's not as widely used or expected as normal copy and paste.
CharGrid
now exposes a chars_in_range
method, given a pair of indexes it will return a String
containing the characters in that range.
Work still needed in notty
:
- Expose the ability to 'highlight' a section of the grid, so that users can have visual confirmation of their selection.
Work still needed in scaffolding
:
- Capture mouse activity to select portions of the screen.
- Copy selected portion of the screen into the system clipboard when the appropriate shortcut is pressed.
Notty now exposes a Paste
command which can be used to paste data into the terminal. This includes support for bracketed paste mode. Scaffolding still needs to integrate with the system clipboard to implement a paste command for the user.
Paste is implemented in scaffolding.
Are you still looking for help?
https://crates.io/crates/copypasta