ojroques / nvim-osc52

A Neovim plugin to copy text through SSH with OSC52
BSD 2-Clause "Simplified" License
346 stars 12 forks source link

Copying gets broken on long text #11

Closed shmerl closed 1 year ago

shmerl commented 1 year ago

I was testing nvim-osc52 with nvim (0.7.2) and patched konsole with with osc52 support, and noticed that copying gets truncated on certain input (konsole patch here).

For example, copying osc52.lua itself from the source code, produces only this when pasting:

-------------------- VARIABLES -----------------------------
local base64 = require('base64')
local fmt = string.format
local commands = {
  operator = {block = "`[\\<C-v>`]y", char = "`[

I'm not sure if it's an issue with plugin or with konsole's handling of osc52.

muesli commented 1 year ago

Author of the konsole patch here, and I'm pretty sure this issue has nothing to do with the way nvim-osc52 works, but with konsole's internal buffer for such OSC operations.

ojroques commented 1 year ago

It seems an issue from Konsole indeed. I'm closing the issue for now, feel free to re-open it if it turns out it's the plugin's fault.