-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Paste into Window micro misformats the pasted values #3571
Comments
Looks like it misses the carriage return ( resp. \r). |
Can confirm, copy paste has been an issue for a long time. Maybe a bit more testing before release |
None of the maintainer has Windows as primary OS. Issues which seem to be related with this "staircase" effect are:
There are more, but I'm unsure if they really describe the same situation. What makes me wonder a bit about this situation is, that the issue seems to exist a very long time already, but no Windows user took the time to take a deep dive into There is definitely some help wanted. Things to check/reproduce:
|
I don't remember this happening to me when using Windows, I have |
I think I was able to know why formatting changes, but I do not know a good way to fix it. The indentation probably changes because Bracketed paste seems to be supported on Windows Terminal, but there may be other environments or terminal emulators where the control sequence is displayed because it isn't supported. There are a lot of issues and questions about using the clipboard, so I think |
I never noticed before, but when on a local network, the crazy indent doesn't happen. But when over tailscale, 90% of the time it will do it. |
What is the OS of the machine on the local network and machine accessed using Tailscale where you used Micro, and terminal emulator (like Windows Terminal) you used when accessing both? In summary, my previous comment was about paste input not distinguished with regular key input, because bracketed paste is not enabled in the Windows version of Micro. Micro also uses the method that is set in Edit: I'm sorry that my tone wasn't somewhat good. I wasn't in a good mood a bit but I should have not posted at such times. I have tried to rewrite both comments. These can also be done as a workaround on Windows for now:
|
Description of the problem or steps to reproduce
On Windows, using Windows Terminal in Powershell, pasted lines are mis-formatted compared to format when copied or when pasted into other apps including WSL/Linux micro
Specifications
Commit hash:
OS: Windows
Terminal: Windows Terminal/Powershell
Version: 2.0.14
Commit hash: 04c5770
Compiled on August 27, 2024
The text was updated successfully, but these errors were encountered: