mirror of
https://github.com/vim/vim.git
synced 2026-05-28 00:21:37 +02:00
751b59e539
When system() or systemlist() is called without :silent from a statusline expression, autocommand, or timer callback, the terminal is temporarily set to cooked mode, which re-enables ECHO on the tty. If a terminal response (e.g. DECRPM for cursor blink mode) arrives during this window, the tty driver echoes it to the screen, leaving stray characters that require CTRL-L to remove. This behavior was intentionally addressed in patch 7.4.427 by skipping cooked mode when :silent is prepended. However, the documentation only mentioned this for system() and did not cover systemlist() at all. The guidance to use :silent in non-interactive contexts (statusline, autocommands, timers) was also not explicit. closes #19691 Signed-off-by: Yasuhiro Matsumoto <mattn.jp@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>