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 -- [email protected] -- 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 ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/202006091936.059Ja2NJ663592%40masaka.moolenaar.net.