I just reported this to Kate so I decided to take the opportunity and register it for Konsole 😅
This implementation has already been done in other KDE apps and can be used as a reference:
It's been on my to-do list. :)
*** Bug 453285 has been marked as a duplicate of this bug. ***
Working on it; see WIP work at https://invent.kde.org/utilities/konsole/-/commit/9b916a77189564771bf4a5729af1c1c2559799ea
*** Bug 459068 has been marked as a duplicate of this bug. ***
A possibly relevant merge request was started @ https://invent.kde.org/utilities/konsole/-/merge_requests/743
Git commit b04265e9fa2637b58934d733aea492ced66c9e3f by Andrey Butirsky, on behalf of Nate Graham.
Committed on 29/11/2022 at 19:03.
Pushed by butirsky into branch 'master'.
M +7 -2 desktop/konsoleui.rc
M +2 -3 desktop/sessionui.rc
M +104 -0 src/MainWindow.cpp
M +3 -0 src/MainWindow.h
M +1 -1 src/session/SessionController.cpp