test(terminal): remove unnecessary string operations (#26434)

This commit is contained in:
zeertzjq
2023-12-07 07:15:37 +08:00
committed by GitHub
parent 8bb5089974
commit 6b00b8a369
5 changed files with 15 additions and 28 deletions

View File

@@ -487,7 +487,7 @@ if is_os('win') then
clear()
feed_command('set modifiable swapfile undolevels=20')
poke_eventloop()
local cmd = '["cmd.exe","/K","PROMPT=$g$s"]'
local cmd = { "cmd.exe", "/K", "PROMPT=$g$s" }
screen = thelpers.screen_setup(nil, cmd)
end)