Bug 510538 - Being able to place the insertion point in the middle of commands by clicking
Summary: Being able to place the insertion point in the middle of commands by clicking
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: general (other bugs)
Version First Reported In: 25.08.2
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: Konsole Bugs
URL:
Keywords: accessibility, usability
Depends on:
Blocks:
 
Reported: 2025-10-12 20:57 UTC by Fernando M. Muniz
Modified: 2025-11-04 10:58 UTC (History)
2 users (show)

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


Attachments
Reproducing the issue. (523.31 KB, video/x-matroska)
2025-10-12 20:57 UTC, Fernando M. Muniz
Details

Note You need to log in before you can comment on or make changes to this bug.
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