Bug 495432

Summary: Option to copy select including ANSI escape sequences
Product: [Applications] konsole Reporter: nilskemail+kde
Component: copy-pasteAssignee: Konsole Developer <konsole-devel>
Status: REPORTED ---    
Severity: wishlist    
Priority: NOR    
Version: 24.08.2   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description nilskemail+kde 2024-10-27 14:26:08 UTC
I would like to copy the terminal content including ANSI escape sequences for styling (color, bold, underline, ...).
This is pretty much bug 335656 which got closed as KDE 4 reached EOL.

Currently Konsole only supports copying the plain text. It also supports saving the whole scrollback as HTML but that is often not what one wants. For one, it exports the whole scrollback from which one then has to extract the desired section. Additionally, there are cases where HTML cannot be used but ANSI can.