[dev] [st] mouse up scrolling not working in vim through tmux in st

2014-05-31 Thread Jay Rajput
Problem Statement: Mouse up scrolling not working in vim through tmux in st. Mouse down scrolling works fine. EarlyInvestigation using google: Google shows a similar problem though with putty http://superuser.com/questions/706881/mouse-scrolling-in-vim-through-tmux-how-to-configure. Software ver

Re: [dev] [st] mouse up scrolling not working in vim through tmux in st

2014-05-31 Thread koneu
On 05/31/2014 05:05 PM, Jay Rajput wrote: Problem Statement: Mouse up scrolling not working in vim through tmux in st. Mouse down scrolling works fine. Quick fix: use J and K

Re: [dev] [st] mouse up scrolling not working in vim through tmux in st

2014-05-31 Thread FRIGN
On Sat, 31 May 2014 20:35:33 +0530 Jay Rajput wrote: > Configuration Settings: > vimrc: set mouse=a > tmux: set -g mode-mouse on > Environment: TERM=screen Hey Jay, disabling "set mouse=a" should fix the issue. Enabling (a)ll mouse-parameters in vim sets it to GUI-mode enabling all kinds of wei

Re: [dev] [st] mouse up scrolling not working in vim through tmux in st

2014-05-31 Thread Jay Rajput
Thanks. VIM help for mouse also states that it works only with certain emulators which I did not read before. Enable the use of the mouse. Only works for certain terminals (xterm, MS-DOS, Win32 |win32-mouse|, QNX pterm, *BSD console with sysmouse and Linux console with gpm). On Sat, May 31, 20

Re: [dev] [st] mouse up scrolling not working in vim through tmux in st

2014-05-31 Thread Balazs Kezes
On 2014-05-31 20:35 +0530, Jay Rajput wrote: > Problem Statement: Mouse up scrolling not working in vim through tmux > in st. Mouse down scrolling works fine. Thou shall not report release events for mouse wheel events. I think neither tmux, neither vim handles these gracefully. For some reason th

Re: [dev] [st] mouse up scrolling not working in vim through tmux in st

2014-05-31 Thread Ralph Eastwood
I had this issue with the mouse release events but I fixed it by patching vim instead. On 31 May 2014 22:47, Balazs Kezes wrote: > On 2014-05-31 20:35 +0530, Jay Rajput wrote: > > Problem Statement: Mouse up scrolling not working in vim through tmux > > in st. Mouse down scrolling works fine. >

Re: [dev] [st] mouse up scrolling not working in vim through tmux in st

2014-06-01 Thread Christoph Lohmann
Greetings. On Sun, 01 Jun 2014 15:58:13 +0200 Balazs Kezes wrote: > On 2014-05-31 20:35 +0530, Jay Rajput wrote: > > Problem Statement: Mouse up scrolling not working in vim through tmux > > in st. Mouse down scrolling works fine. > > Thou shall not report release events for mouse wheel events.

Re: [dev] [st] mouse up scrolling not working in vim through tmux in st

2014-06-01 Thread Jay Rajput
Verified. The changes have solved the problem. Both scroll up and down are working for me. I am testing on code from the git repo. [root@work st]# sed -ne '829,833{p}' st.c /* MODE_MOUSEX10: no button release reporting */ if(IS_SET(MODE_MOUSEX10))

Re: [dev] [st] mouse up scrolling not working in vim through tmux in st

2014-06-01 Thread Balazs Kezes
On 2014-06-01 15:58 +0200, Christoph Lohmann wrote: > > Sidenote: while looking at tmux under st I experienced a lot of > > other rendering problems. I suspect this is because st's VT100 > > emulation is a bit weak. In case this is something the suckless > > community would like to fix, I recommend

Re: [dev] [st] mouse up scrolling not working in vim through tmux in st

2014-06-02 Thread Roberto E. Vargas Caballero
> fix, I recommend using xterm's vttest[3] to test the features. I have used vttest while I was coding in st, and it passes almost of the test for vt100 (vttest does test for features of xterm, vt2xx, vt3xx and even vt5xx). I could pass some test, please if your version of vttest report some error