From: Spyros Seimenis <spyros.seimenis@canonical.com>
Date: Thu, 21 Mar 2024 10:00:31 +0800
Subject: Fix flaky vim test

Last-Update: 2021-11-05
---
 src/testdir/test_terminal.vim | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/testdir/test_terminal.vim b/src/testdir/test_terminal.vim
index bb6fca3..2d7e68b 100644
--- a/src/testdir/test_terminal.vim
+++ b/src/testdir/test_terminal.vim
@@ -529,6 +529,7 @@ func Test_terminal_postponed_scrollback()
   call VerifyScreenDump(buf, 'Test_terminal_scrollback_2', {})
 
   " Back to Terminal-Job mode, text will scroll and show the extra line.
+  call TermWait(buf, 200)
   call term_sendkeys(buf, "a")
   call VerifyScreenDump(buf, 'Test_terminal_scrollback_3', {})
 
