-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Description
Code of Conduct
- I agree to follow this project's Code of Conduct
What would you like to see changed?
Currently, when using oh-my-posh's transient prompt feature, after a command is typed and the transient prompt is displayed, after double/triple clicking on the command, which selects the current line, not only is the command selected, but the entire transient prompt template and filler are selected as well. This makes it very difficult to copy previous commands with a mouse, as that generally involves double/triple clicking the command (which selects all of it in the case of single line commands) and then copying it with CTRL-SHIFT-C. But due to oh-my-posh's having both the transient prompt with its template and filler, and the command both on the same line (no newline character to separate them), when double/triple clicking, everything is selected, which makes copying difficult as it forces the user to have to manually select only the command which can be tedious.
An example can be seen as follows, with the first image having no text selected, while the second image has the ls
command double clicked, resulting in the whole thing getting selected.


I have tested this in nushell and fish, and foot terminal and konsole. On the newest version.