patch 9.1.1113: tests: Test_terminal_builtin_without_gui waits 2 seconds
Commit:
https://github.com/vim/vim/commit/e67eff2e24f7289c5a40c90253b0b01910ab898d
Author: Yee Cheng Chin <[email protected]>
Date: Fri Feb 14 18:01:25 2025 +0100
patch 9.1.1113: tests: Test_terminal_builtin_without_gui waits 2 seconds
Problem: tests: Test_terminal_builtin_without_gui waits 2 seconds
Solution: add --not-a-term to remove the annoying 2s delay in error
message when Vim detects that stdio are not from a terminal
(Yee Cheng Chin)
closes: #16635
Signed-off-by: Yee Cheng Chin <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
diff --git a/src/testdir/test_termcodes.vim b/src/testdir/test_termcodes.vim
index db98a70b4..48e5250a0 100644
--- a/src/testdir/test_termcodes.vim
+++ b/src/testdir/test_termcodes.vim
@@ -2750,7 +2750,7 @@ func Test_terminal_builtin_without_gui()
CheckNotMSWindows
" builtin_gui should not be output by :set term=xxx
- let output = systemlist("TERM=dumb " .. v:progpath .. " --clean -c ':set
t_ti= t_te=' -c 'set term=xxx' -c ':q!'")
+ let output = systemlist("TERM=dumb " .. v:progpath .. " --not-a-term --clean
-c ':set t_ti= t_te=' -c 'set term=xxx' -c ':q!'")
redraw!
call map(output, {_, val -> trim(val)})
call assert_equal(-1, index(output, 'builtin_gui'))
diff --git a/src/version.c b/src/version.c
index e7efb2142..5fe62548f 100644
--- a/src/version.c
+++ b/src/version.c
@@ -704,6 +704,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1113,
/**/
1112,
/**/
--
--
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 visit
https://groups.google.com/d/msgid/vim_dev/E1tizHM-008kew-Fm%40256bit.org.