I’ve been using this snippet for a while…at least since neovim 0.5. I recently updated to HEAD from 0.8 and I’m seeing failures with the following line:
call writefile([escape], '/dev/tty', 'b')
I’m guessing this might be an intentional change as part of the backend separation, but I’d like to confirm that it’s not a bug before trying to find a workaround. Does anyone know why this might have changed in 0.9?
I’ve been using this same code as a way to interact with the clipboard (I run NeoVim on a docker container and SSH into it from Windows, so that’s the only way I found to have clipboard support).
But now the latest versions of my dev container updated to nvim 0.9 and it doesn’t work anymore. Any workaround is welcome.