File tree Expand file tree Collapse file tree 4 files changed +18
-4
lines changed
Expand file tree Collapse file tree 4 files changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -3780,9 +3780,6 @@ check_mouse_termcode()
37803780# ifdef FEAT_MOUSE_URXVT
37813781 /* same as the dec mouse */
37823782 if (use_xterm_mouse () == 3
3783- # ifdef FEAT_TERMRESPONSE
3784- && !did_request_esc_sequence ()
3785- # endif
37863783# ifdef FEAT_GUI
37873784 && !gui .in_use
37883785# endif
@@ -3797,7 +3794,8 @@ check_mouse_termcode()
37973794 mch_setmouse (FALSE);
37983795 setmouse ();
37993796 }
3800- xterm_conflict_mouse = TRUE;
3797+ /* It's OK to request the xterm version for uxterm. */
3798+ resume_get_esc_sequence ();
38013799 }
38023800 else
38033801 del_mouse_termcode (KS_URXVT_MOUSE );
Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ void settmode __ARGS((int tmode));
3535void starttermcap __ARGS ((void ));
3636void stoptermcap __ARGS ((void ));
3737int did_request_esc_sequence __ARGS ((void ));
38+ void resume_get_esc_sequence __ARGS ((void ));
3839void may_req_termresponse __ARGS ((void ));
3940void may_req_ambiguous_char_width __ARGS ((void ));
4041int swapping_screen __ARGS ((void ));
Original file line number Diff line number Diff line change @@ -3330,6 +3330,19 @@ did_request_esc_sequence()
33303330 return crv_status == CRV_SENT || u7_status == U7_SENT
33313331 || xt_index_out > xt_index_in ;
33323332}
3333+
3334+ /*
3335+ * If requesting the version was disabled in did_request_esc_sequence(),
3336+ * enable it again.
3337+ */
3338+ void
3339+ resume_get_esc_sequence ()
3340+ {
3341+ if (crv_status == 0 )
3342+ crv_status = CRV_GET ;
3343+ if (u7_status == 0 )
3344+ u7_status = U7_GET ;
3345+ }
33333346# endif
33343347
33353348
Original file line number Diff line number Diff line change @@ -734,6 +734,8 @@ static char *(features[]) =
734734
735735static int included_patches [] =
736736{ /* Add new patch number below this line */
737+ /**/
738+ 359 ,
737739/**/
738740 358 ,
739741/**/
You can’t perform that action at this time.
0 commit comments