Skip to content

Multicursor only works with latin characters #3715

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

Open
Bellavene opened this issue Apr 9, 2025 · 6 comments
Open

Multicursor only works with latin characters #3715

Bellavene opened this issue Apr 9, 2025 · 6 comments

Comments

@Bellavene
Copy link

Fore some reason, I can't type in other languages while in multicursor mode. It only types on the first cursor.

@Andriamanitra
Copy link
Contributor

Which other languages? I tried Cyrillic and it works fine with multicursor.

@Bellavene
Copy link
Author

Screenshot.2025-04-10.at.10.03.38.mov

@Andriamanitra
Copy link
Contributor

What version of micro are you using? Which terminal emulator? Does the issue occur with an empty config directory?

https://asciinema.org/a/kckENujHQVGKVXBduqOSDphas

@niten94
Copy link
Contributor

niten94 commented Apr 12, 2025

I can reproduce this on Linux even with Latin characters when pressing Ctrl+Shift+V to paste (bracketed paste) and see this as EventPaste in > raw. "Escape non-ASCII input with Control-V" is probably enabled by default on Terminal.app.

iTerm2 seems to be used instead when searching an application-specific escape sequence written in a previous issue, but I wasn't able to see an option similar with Terminal.app or anything related when searching online.

Multiple cursors are handled with the Paste action (OSC 52, Ctrl-v EventKey in > raw by default) since the method is called on each cursor when using bindings, but this isn't done with EventPaste.

@Bellavene
Copy link
Author

Bellavene commented Apr 12, 2025

What version of micro are you using? Which terminal emulator? Does the issue occur with an empty config directory?

  1. Latest, was trying also 2.0.14 on homebrew
  2. iTerm 3.5.11 ( 3.5.12-13 fore some reasons are slow as hell )
  3. Yes

BTW, as I tried current upstream version off micro, looks like copying is broken on macos.

@niten94
Copy link
Contributor

niten94 commented Apr 17, 2025

By broken, do you mean that nothing is copied?

There hasn't been much changes to code related with actions and clipboard this year, and I don't think any could break copying. These are the only factors I can come up with and I'm not sure if we could help, but please feel free to provide any detail:

  • Screen multiplexers like tmux
  • clipboard option
  • pbcopy command (program)
  • Received events as seen with raw command
  • Remote sessions like SSH

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

No branches or pull requests

3 participants