Skip to content

Commit c2adc00

Browse files
committed
patch 8.2.0259: terminal in popup test sometimes fails
Problem: Terminal in popup test sometimes fails. Solution: Clear the command line.
1 parent 4132eb5 commit c2adc00

3 files changed

Lines changed: 4 additions & 1 deletion

File tree

src/testdir/dumps/Test_terminal_popup_1.dump

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
|7| @12|║+0#0000001#ffd7ff255|~+0#4040ff13#ffffff0| @43|║+0#0000001#ffd7ff255| +0#0000000#ffffff0@13
99
|8| @12|║+0#0000001#ffd7ff255|~+0#4040ff13#ffffff0| @43|║+0#0000001#ffd7ff255| +0#0000000#ffffff0@13
1010
|9| @12|║+0#0000001#ffd7ff255|~+0#4040ff13#ffffff0| @43|║+0#0000001#ffd7ff255| +0#0000000#ffffff0@13
11-
|1|0| @11|║+0#0000001#ffd7ff255| +0#0000000#ffffff0@26|1|,|1| @10|A|l@1| |║+0#0000001#ffd7ff255| +0#0000000#ffffff0@13
11+
|1|0| @11|║+0#0000001#ffd7ff255|:+0#0000000#ffffff0| @25|1|,|1| @10|A|l@1| |║+0#0000001#ffd7ff255| +0#0000000#ffffff0@13
1212
|1@1| @11|╚+0#0000001#ffd7ff255|═@44|⇲| +0#0000000#ffffff0@13
1313
|1|2| @72
1414
|1|3| @72

src/testdir/test_terminal.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2353,6 +2353,7 @@ func Test_terminal_in_popup()
23532353
\ ]
23542354
call writefile(lines, 'XtermPopup')
23552355
let buf = RunVimInTerminal('-S XtermPopup', #{rows: 15})
2356+
call term_sendkeys(buf, ":\<CR>")
23562357
call VerifyScreenDump(buf, 'Test_terminal_popup_1', {})
23572358

23582359
call term_sendkeys(buf, ":q\<CR>")

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -742,6 +742,8 @@ static char *(features[]) =
742742

743743
static int included_patches[] =
744744
{ /* Add new patch number below this line */
745+
/**/
746+
259,
745747
/**/
746748
258,
747749
/**/

0 commit comments

Comments
 (0)