[konsole] [Bug 474448] New: Wish: Allow cursor placement by mouse click in the current command

Tomaz Canabrava tcanabrava at kde.org
Tue Sep 12 16:20:49 BST 2023


O believe that there’s no such thing as “cursor” in konsole. This is
implemented by terminal applications (such as bash). It’s not something
that Konsole controls.

I believe we *could* try to do something for the common standard of prompts
(bash,fish, zsh) but it will probably be a hack around it.

I don’t really know your usecase, but we already offer the “quick actions”
plugins for larger commands - would that work?

You can copy the test to it, edit as a text editor would; and execute from
the plugin.

On Tue, 12 Sep 2023 at 14:30 Oliver Sander <bugzilla_noreply at kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=474448
>
>             Bug ID: 474448
>            Summary: Wish: Allow cursor placement by mouse click in the
>                     current command
>     Classification: Applications
>            Product: konsole
>            Version: unspecified
>           Platform: Debian stable
>                 OS: Linux
>             Status: REPORTED
>           Severity: wishlist
>           Priority: NOR
>          Component: general
>           Assignee: konsole-devel at kde.org
>           Reporter: oliver.sander at tu-dresden.de
>   Target Milestone: ---
>
> I sometimes find myself working with very long command lines in konsole.
> One
> example are compiler invocations which can easily get 700 letters long.
> In my
> workflow, I copy them from the clipboard into Konsole and then I need to
> edit
> them.
>
> The problem is that it is very tedious to move around in such long lines.
> I
> can jump to the beginning and to the end of the line with the Pos1 and End
> keys.  To move around I can go left and right with the arrow-left and
> arrow-right keys, and that's apparently it.  Unfortunately, moving around
> in
> such a long line with the two arrow keys only can take a long time.
>
> My wish is that when I click onto the current command line the Konsole
> cursor
> moves to the position of the mouse cursor, just as it does in Kate or
> LibreOffice.
>
> --
> You are receiving this mail because:
> You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/konsole-devel/attachments/20230912/1273b4e6/attachment-0001.htm>


More information about the konsole-devel mailing list