-
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
Pasting causes text to seemingly cascade to the right #1343
Comments
I am having this same issue on Windows 10, also on version 1.4.1. |
micro seems to interpret pasted text, and indents according to opened [code]/parens blocks as if typing each character individually, one after another. The option I also looked at the A simple example like the following is sufficient to reproduce. Select all, copy, and paste.
Pasting results in (
With |
This is a very old issue. Micro 1.4.1 was released in 2018, at which point @Kissaki I don't think your issue is related to this one. Your issue sounds more like #1518 although I'm unable to reproduce it on my machine (micro 2.0.14 on x86_64 Linux using Terminator terminal emulator). Could you verify that the issue still happens on latest micro version and if it does, open a new issue with more information about your setup:
|
It works fine when going around Windows Terminal copy and paste. I bound ctrl+f1 and ctrl+f2 in micro to use unbound keys for copy and paste. That worked. Disabling autoclose and autoindent also worked. When pasting through Windows Terminal the issue occurs, whether So there's two ways it works. And it seems to me like Windows Terminal may not actually support OSC 52 or micros interfacing of it. My interpretation of this ticket is thus that it's a terminal setup issue. I assume the issue occurs when the terminal pastes through individual character input, in which case micros default autoclose and autoindent take effect. I wonder if a different default would be appropriate or other UX/feedback improvement could reduce confusion regarding this. Noting mass-input may seem like undesirable logic. |
Description of the problem or steps to reproduce
Whenever I try and paste a decent block of text it seems to all just keep flowing to the right as seen below. - Side note, the newest build I see is from all the way back in Aug 9, 2018, is this right? There has been no updates or anything since then?
The text I copied was this:
Specifications
Version: 1.4.1
Commit hash: 1856891
Compiled on August 10, 2018
The text was updated successfully, but these errors were encountered: