mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
patch 8.0.1523: cannot write and read terminal screendumps
Problem: Cannot write and read terminal screendumps. Solution: Add term_dumpwrite(), term_dumpread() and term_dumpdiff(). Also add assert_equalfile().
This commit is contained in:
@@ -7474,6 +7474,11 @@ v_visop(cmdarg_T *cap)
|
||||
static void
|
||||
nv_subst(cmdarg_T *cap)
|
||||
{
|
||||
#ifdef FEAT_TERMINAL
|
||||
/* When showing output of term_dumpdiff() swap the top and botom. */
|
||||
if (term_swap_diff() == OK)
|
||||
return;
|
||||
#endif
|
||||
if (VIsual_active) /* "vs" and "vS" are the same as "vc" */
|
||||
{
|
||||
if (cap->cmdchar == 'S')
|
||||
|
Reference in New Issue
Block a user