comparison src/normal.c @ 13298:a88c5e12b860 v8.0.1523

patch 8.0.1523: cannot write and read terminal screendumps commit https://github.com/vim/vim/commit/d96ff165113ce5fe62107add590997660e3d4802 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Feb 18 22:13:29 2018 +0100 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().
author Christian Brabandt <cb@256bit.org>
date Sun, 18 Feb 2018 22:15:06 +0100
parents ac42c4b11dbc
children 244ff1b6d2ad
comparison
equal deleted inserted replaced
13297:46d884aa4d75 13298:a88c5e12b860
7472 * "s" and "S" commands. 7472 * "s" and "S" commands.
7473 */ 7473 */
7474 static void 7474 static void
7475 nv_subst(cmdarg_T *cap) 7475 nv_subst(cmdarg_T *cap)
7476 { 7476 {
7477 #ifdef FEAT_TERMINAL
7478 /* When showing output of term_dumpdiff() swap the top and botom. */
7479 if (term_swap_diff() == OK)
7480 return;
7481 #endif
7477 if (VIsual_active) /* "vs" and "vS" are the same as "vc" */ 7482 if (VIsual_active) /* "vs" and "vS" are the same as "vc" */
7478 { 7483 {
7479 if (cap->cmdchar == 'S') 7484 if (cap->cmdchar == 'S')
7480 { 7485 {
7481 VIsual_mode_orig = VIsual_mode; 7486 VIsual_mode_orig = VIsual_mode;