[konsole] [Bug 238032] RFE : add dbus method readSessionWindow() for geting the visible text in terminal area
Kurt Hindenburg
bugzilla_noreply at kde.org
Sat Jan 13 17:34:21 GMT 2024
https://bugs.kde.org/show_bug.cgi?id=238032
Kurt Hindenburg <khindenburg at kde.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|ASSIGNED |RESOLVED
Latest Commit| |https://invent.kde.org/util
| |ities/konsole/-/commit/b27e
| |80f2b51214596b1d5bdbd52a91b
| |fa2450b82
--- Comment #5 from Kurt Hindenburg <khindenburg at kde.org> ---
Git commit b27e80f2b51214596b1d5bdbd52a91bfa2450b82 by Kurt Hindenburg, on
behalf of Theodore Wang.
Committed on 13/01/2024 at 18:34.
Pushed by hindenburg into branch 'master'.
Implemented DBus methods for reading displayed text
The four methods allow users to retrieve the text displayed on a
view.
1. Session::getAllDisplayedText
2. Session::getAllDisplayedTextList
3. Session::getDisplayedText
4. Session::getDisplayedTextList
They can choose the return value to be a single string. Or call
the "...List" methods to get a list where every list element is
the text on a single line.
For methods "getAllDisplayedText" and "getAllDisplayedTextList",
the user can specify if trailing empty lines should be removed.
For the other two methods, the user can specify the range of
lines to be retrieved.
M +63 -0 src/session/Session.cpp
M +29 -0 src/session/Session.h
https://invent.kde.org/utilities/konsole/-/commit/b27e80f2b51214596b1d5bdbd52a91bfa2450b82
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the konsole-devel
mailing list