randy3k / Terminus

Bring a real terminal to Sublime Text
https://packagecontrol.io/packages/Terminus
MIT License
1.39k stars 82 forks source link

Terminus doesn't forward mouse inputs to tmux #397

Open ryuukk opened 1 year ago

ryuukk commented 1 year ago

OS: linux Shell: bash

I'm pretty clueless about this, so i don't know how to phrase it properly

I have a terminal view in a tab, i open tmux and:

JoeeGrigg commented 2 months ago

I've just come up against this. I would love to know if there is a work around?

ryuukk commented 2 months ago

I was never able to find a workaround

But i made some discovery how it could be potentially implemented in terminus:

https://github.com/cronvel/terminal-kit/blob/6f84c257e8fcd6e9075d6f0e25fef4cef0459acf/lib/termconfig/xterm.js#L212-L224

I tried to hack the code, but i couldn't figure how to map mouse coordinate from sublime text to the terminus view, so i gave up

ping @randy3k