Bug 480315 - "mouse click in input line moves cursor" is broken
Summary: "mouse click in input line moves cursor" is broken
Status: RESOLVED NOT A BUG
Alias: None
Product: konsole
Classification: Applications
Component: emulation (show other bugs)
Version: 22.12.3
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-25 12:50 UTC by radagast
Modified: 2024-01-27 02:43 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description radagast 2024-01-25 12:50:37 UTC
SUMMARY
The feature doesn't work with either bash or zsh. As far as I understand, it is supposed to work at least with bash out of the box. If extra configuration is required for zsh, I'd be grateful for steps.

STEPS TO REPRODUCE
1. Enable the "mouse click in input line moves cursor" option
2. Reload the configuration or restart the shell with the updated profile
3. Type something in the shell and left-click in the input line

OBSERVED RESULT
Cursor doesn't move in the shell

EXPECTED RESULT
Cursor does move in the shell input line

SOFTWARE/OS VERSIONS
OpenSUSE Leap 15.5
KDE Plasma Version: 5.27.9 (on X11)
KDE Frameworks Version:  5.103.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
Originally reported here https://discuss.kde.org/t/mouse-click-does-not-move-cursor/9978
Comment 1 fanzhuyifan 2024-01-27 02:43:20 UTC
Hi, you would need to set up semantic shell integration for this to work: https://gitlab.freedesktop.org/Per_Bothner/specifications/blob/master/proposals/semantic-prompts.md#fish-shell