File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -2007,8 +2007,13 @@ terminal_loop(int blocking)
20072007 if (ctrl_break_was_pressed )
20082008 mch_signal_job (curbuf -> b_term -> tl_job , (char_u * )"kill" );
20092009#endif
2010- /* Was either CTRL-W (termkey) or CTRL-\ pressed? */
2011- if (c == (termkey == 0 ? Ctrl_W : termkey ) || c == Ctrl_BSL )
2010+ /* Was either CTRL-W (termkey) or CTRL-\ pressed?
2011+ * Not in a system terminal. */
2012+ if ((c == (termkey == 0 ? Ctrl_W : termkey ) || c == Ctrl_BSL )
2013+ #ifdef FEAT_GUI
2014+ && !curbuf -> b_term -> tl_system
2015+ #endif
2016+ )
20122017 {
20132018 int prev_c = c ;
20142019
Original file line number Diff line number Diff line change @@ -766,6 +766,8 @@ static char *(features[]) =
766766
767767static int included_patches [] =
768768{ /* Add new patch number below this line */
769+ /**/
770+ 1611 ,
769771/**/
770772 1610 ,
771773/**/
You can’t perform that action at this time.
0 commit comments