mirror of
https://github.com/cy384/ssheven.git
synced 2026-05-15 14:15:58 -06:00
properly handle command to stop sending mouse clicks
This commit is contained in:
parent
9c67eafebd
commit
df6ccd0449
1 changed files with 1 additions and 1 deletions
|
|
@ -545,7 +545,7 @@ int settermprop(VTermProp prop, VTermValue *val, void *user)
|
|||
return 1;
|
||||
case VTERM_PROP_MOUSE: // number
|
||||
// record whether or not the terminal wants mouse clicks
|
||||
con.mouse_mode = (val->number | VTERM_MOUSE_WANT_CLICK) ? CLICK_SEND : CLICK_SELECT;
|
||||
con.mouse_mode = (val->number == VTERM_PROP_MOUSE_CLICK) ? CLICK_SEND : CLICK_SELECT;
|
||||
return 1;
|
||||
case VTERM_PROP_ALTSCREEN: // bool
|
||||
case VTERM_PROP_ICONNAME: // string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue