micro-editor / micro-editor/micro
Escape sequences on mouse movement when disconnected from SSH session while Micro was opened.
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 29.6k
- Forks
- 1.4k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 10
Description
I had 3 terminal windows opened (1 terminal split into 3) and one of them started doing it but not the others. I was SSH'd into my GCP server and was using Micro when it started.
It seems this happens when you are SSH'd into a server and I believe your connection times out while you have Micro opened. Then it starts doing this. Just after I made a post to a much older thread about a month or so ago, I made a change on one of my boxes and it has not happened since, but I can't remember what it was, so I am going to go searching for it. I am pretty sure I just changed the timeout on the box, though. I fired up a new box and it is happening on that one, which is what prompted / reminded me to come update this.
It seems the only way to stop it is to physically close the terminal window and then go back in.

I do occasionally see it randomly without being disconnected, though, I am not 100% sure of the circumstances in which cause it as it is only sometimes. It might have something to do with changing focus to another window and coming back, but it is quite seldom, and I change window focus all the time, so there much be some other factor. When it does this without being disconnected, it looks like this:

I had opened Micro using an alias, edited a file, saved and then closed it and that was what it looked like. A simply ctrl + c cleared it out and I can go on about my business.
micro --version
Version: 1.4.1
Commit hash: 1856891
Compiled on August 10, 2018
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is identified. Start by reproducing the escape-sequence output with Micro 1.4.1 over SSH, including a timed-out connection and changing terminal focus, then compare it with the behavior after Ctrl+C. Done means the terminal remains usable without closing the window after these cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100