mirror of
https://github.com/alrayyes/st.git
synced 2024-11-22 19:26:22 +00:00
Tmux wants this to be mutually exclusive.
Thanks Egmont Koblinger <egmont@gmail.com> for noticing this!
This commit is contained in:
parent
05a1ff03e9
commit
b7261c84aa
1 changed files with 2 additions and 0 deletions
2
st.c
2
st.c
|
@ -1557,9 +1557,11 @@ tsetmode(bool priv, bool set, int *args, int narg) {
|
|||
break;
|
||||
case 1000: /* 1000,1002: enable xterm mouse report */
|
||||
MODBIT(term.mode, set, MODE_MOUSEBTN);
|
||||
MODBIT(term.mode, 0, MODE_MOUSEMOTION);
|
||||
break;
|
||||
case 1002:
|
||||
MODBIT(term.mode, set, MODE_MOUSEMOTION);
|
||||
MODBIT(term.mode, 0, MODE_MOUSEBTN);
|
||||
break;
|
||||
case 1006:
|
||||
MODBIT(term.mode, set, MODE_MOUSESGR);
|
||||
|
|
Loading…
Reference in a new issue