mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:7.4.359
Problem: When 'ttymouse' is set to 'uxterm' the xterm version is not requested. (Tomas Janousek) Solution: Do not mark uxterm as a conflict mouse and add resume_get_esc_sequence(). https://code.google.com/p/vim/source/detail?r=v7-4-359
This commit is contained in:
parent
83cd2979a1
commit
3253e7ec09
@ -810,7 +810,7 @@ void check_mouse_termcode(void)
|
|||||||
mch_setmouse(false);
|
mch_setmouse(false);
|
||||||
setmouse();
|
setmouse();
|
||||||
}
|
}
|
||||||
xterm_conflict_mouse = true;
|
resume_get_esc_sequence();
|
||||||
} else {
|
} else {
|
||||||
del_mouse_termcode(KS_URXVT_MOUSE);
|
del_mouse_termcode(KS_URXVT_MOUSE);
|
||||||
}
|
}
|
||||||
|
@ -2468,6 +2468,18 @@ bool did_request_esc_sequence(void)
|
|||||||
return crv_status == CRV_SENT || u7_status == U7_SENT
|
return crv_status == CRV_SENT || u7_status == U7_SENT
|
||||||
|| xt_index_out > xt_index_in;
|
|| xt_index_out > xt_index_in;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// If requesting the version was disabled in did_request_esc_sequence(),
|
||||||
|
/// enable it again.
|
||||||
|
void resume_get_esc_sequence(void)
|
||||||
|
{
|
||||||
|
if (crv_status == 0) {
|
||||||
|
crv_status = CRV_GET;
|
||||||
|
}
|
||||||
|
if (u7_status == 0) {
|
||||||
|
u7_status = U7_GET;
|
||||||
|
}
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -236,7 +236,7 @@ static int included_patches[] = {
|
|||||||
362,
|
362,
|
||||||
361,
|
361,
|
||||||
//360,
|
//360,
|
||||||
//359,
|
359,
|
||||||
358,
|
358,
|
||||||
357,
|
357,
|
||||||
//356 NA
|
//356 NA
|
||||||
|
Loading…
Reference in New Issue
Block a user