[konsole] [Bug 372116] Feature Request: Support OSC 52 (copy to clipboard)

Christian Muehlhaeuser bugzilla_noreply at kde.org
Tue Apr 16 00:31:47 BST 2024


https://bugs.kde.org/show_bug.cgi?id=372116

--- Comment #38 from Christian Muehlhaeuser <muesli at gmail.com> ---
(In reply to Shmerl from comment #35)
> Well, I see it being used at least in a few places in the code:
> 
> ```
> src/Vt102Emulation.cpp:322:    tokenBufferPos = qMin(tokenBufferPos,
> MAX_TOKEN_LENGTH - 1);
> src/Vt102Emulation.h:127:#define MAX_TOKEN_LENGTH 256 // Max length of
> tokens (e.g. window title)
> src/Vt102Emulation.h:132:    uint tokenBuffer[MAX_TOKEN_LENGTH]; // FIXME:
> overflow?
> ```

That looks like an outdated version of the code. Looking at the git history, it
seems like this issue may have been fixed a few weeks ago and the tokenBuffer
now gets resized to fit the content. I've got to take a closer look, but that
might enable me to revisit this issue. Either way MAX_TOKEN_LENGTH is
definitely obsolete now.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list