Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Feature Request: ConEmu Command Line Cursor Position #986
ConEmu build: 161206 x64
In a nut shell, would like the cursor position to go to the end of the last character typed when I click away from the command line and then back to it. An example using Mercurial HG command line in ConEmu:
If I type anything on the command line, then use the mouse to select some other text on the screen to copy, then mouse click at the end of the line I just typed, my cursor ends up at the beginning of the command line, not at the end, where I clicked. If that's working as designed, then OK, but I'm not doing something wrong. I've attached a screencast movie that shows shows what I mean.
Ref: gh-986, gh-317, gh-845 Now ‘Change prompt text cursor position with Left Click’ and ‘Ctrl+Backspace - delete word leftward to the text cursor’ are process by ConEmu GUI without posting command to ConEmuHk. The feature requires properly reported by the shell prompt start pos. For bare cmd.exe it's done automatically by ConEmuHk. All other shells must report the start of the prompt with ANSI. * https://conemu.github.io/en/AnsiEscapeCodes.html#ConEmu_specific_OSC * https://conemu.github.io/en/CygwinMsysConnector.html For example, while using bash and connector you may add to the end of your `PS1` the following sequence: `\[\033]9;12\007\]`.