Closed EvelynSubarrow closed 3 years ago
What version of nano are you using?
Relevant background information; nano has historically had problems with paste: https://savannah.gnu.org/bugs/?49176 Nano 4.8 includes support for bracketed paste which should help alleviate those problems (https://savannah.gnu.org/bugs/?40060)
aha, I hadn't considered it might be nano, I'm quite far pre-4.8, I'll see if upgrading resolves this
Tested with my shiny new copy of nano, and can confirm that resolves it, thank you for the pointer!
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
If you try to copy and paste multiple lines within the terminal, you'll find that the lines end up between each other in ways which aren't very helpful. It's possible that this is intended functionality and this is an enhancement ticket, I drew a blank when searching the documentation for this anyway.
Environment (please complete the following information):
To Reproduce
Open two instances of wezterm, with nano open in both, and the contents of two files as follows:
File A:
File B:
Select the text in file B with the mouse cursor, from the first to the final character, copy the text using the set keyboard shortcut, switch to file A, put the terminal cursor on the blank line, and paste. You'll end up with something like:
Configuration
Expected behaviour
The text should be intact when pasted, similar to some other terminals. If there's a good reason this behaviour should not be a default, it could be configurable