Patch 8.2.0940

7 views
Skip to first unread message

Bram Moolenaar

unread,
Jun 9, 2020, 3:36:10 PM6/9/20
to vim...@googlegroups.com

Patch 8.2.0940 (after 8.2.0939)
Problem: Build failure with tiny features.
Solution: Add #ifdef. Add UNUSED. A bit more cleaning up.
Files: src/term.c


*** ../vim-8.2.0939/src/term.c 2020-06-09 21:26:32.664039803 +0200
--- src/term.c 2020-06-09 21:32:45.238747868 +0200
***************
*** 4384,4391 ****
return new_slen;
}

static void
! handle_u7_response(int *arg, char_u *tp, int csi_len)
{
if (arg[0] == 2 && arg[1] >= 2)
{
--- 4384,4395 ----
return new_slen;
}

+ #ifdef FEAT_TERMRESPONSE
+ /*
+ * Handle a cursor position report.
+ */
static void
! handle_u7_response(int *arg, char_u *tp UNUSED, int csi_len UNUSED)
{
if (arg[0] == 2 && arg[1] >= 2)
{
***************
*** 4403,4410 ****
// Setting the option causes a screen redraw. Do
// that right away if possible, keeping any
// messages.
! set_option_value((char_u *)"ambw", 0L,
! (char_u *)aw, 0);
# ifdef DEBUG_TERMRESPONSE
{
int r = redraw_asap(CLEAR);
--- 4407,4413 ----
// Setting the option causes a screen redraw. Do
// that right away if possible, keeping any
// messages.
! set_option_value((char_u *)"ambw", 0L, (char_u *)aw, 0);
# ifdef DEBUG_TERMRESPONSE
{
int r = redraw_asap(CLEAR);
***************
*** 5029,5034 ****
--- 5032,5038 ----
}
return OK;
}
+ #endif // FEAT_TERMRESPONSE

/*
* Check if typebuf.tb_buf[] contains a terminal key code.
*** ../vim-8.2.0939/src/version.c 2020-06-09 21:26:32.664039803 +0200
--- src/version.c 2020-06-09 21:35:26.270440739 +0200
***************
*** 756,757 ****
--- 756,759 ----
{ /* Add new patch number below this line */
+ /**/
+ 940,
/**/

--
Why doesn't Tarzan have a beard?

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages