tabby
tabby copied to clipboard
OSC 52 clipboard not support string length greater than 1024 bytes
Describe the problem:
OSC 52 clipboard not support string length greater than 1024/4*3.
To Reproduce:
run follow code in tmux
tmux set-buffer -w "$( dd if=/dev/random bs=1024 count=1 | base64)"
Reason:
https://github.com/Eugeny/tabby/blob/45b6e21dbce0ef3155a71699c33e177e7ed2bf78/tabby-terminal/src/middleware/oscProcessing.ts#L15
String variable of data: Buffer max length is 1024 bytes. OSC string sequence will be splitted to multiple data(function call). so the OSCPrefix and OSCSuffix chars will be in different function call.
Has there been any attempt at fixing this since 2022? I still encounter it
@Eugeny Fix it please