Bug 510538

Summary: Being able to place the insertion point in the middle of commands by clicking
Product: [Applications] konsole Reporter: Fernando M. Muniz <fernandommuniz>
Component: generalAssignee: Konsole Bugs <konsole-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: nerumo, ninjalj
Priority: NOR Keywords: accessibility, usability
Version First Reported In: 25.08.2   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=503737
https://bugs.kde.org/show_bug.cgi?id=511023
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Reproducing the issue.

Description Fernando M. Muniz 2025-10-12 20:57:25 UTC
Created attachment 185719 [details]
Reproducing the issue.

STEPS TO REPRODUCE
Click in the middle of a command to correct a typo.

OBSERVED RESULT
It's not possible.

EXPECTED RESULT
Being able to place the insertion point by clicking anywhere in a command; increasing usability especially for newcomers.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.19.0
Qt Version: 6.10.0
Kernel Version: 6.17.1-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 8 × 11th Gen Intel® Core™ i5-11300H @ 3.10GHz
Memory: 9 GB of RAM (8.1 GB usable)
Graphics Processor 1: Intel® Iris® Xe Graphics
Graphics Processor 2: NVIDIA GeForce GTX 1650
Manufacturer: LENOVO
Product Name: 82MG
System Version: IdeaPad Gaming 3 15IHU6
Comment 1 Fernando M. Muniz 2025-10-12 21:14:23 UTC
It also looks like a bug when you double-click a word and it even gets highlighted, but you can't delete it the selected word.
But that's already covered by the wishlist in Bug 503737
Comment 2 ninjalj 2025-11-02 12:16:35 UTC
Provided by shell integration. 

It can be enabled on the profile configuration under General → Semantic Integration → Mouse click in input line moves cursor.

Then enable semantic shell integration on your shell, e.g. using the command provided below for bash:

if [[ ! $PS1 =~ 133 ]] ; then
PS1='\[\e]133;L\a\]\[\e]133;D;$?\]\[\e]133;A\a\]'$PS1'\[\e]133;B\a\]' ;
PS2='\[\e]133;A\a\]'$PS2'\[\e]133;B\a\]' ;
PS0='\[\e]133;C\a\]' ; fi