0
0
mirror of https://github.com/vim/vim.git synced 2025-10-01 04:54:07 -04:00

patch 8.0.0911: terminal test takes too long

Problem:    Terminal test takes too long.
Solution:   Instead of "sleep 1" use a Python program to briefly sleep.
This commit is contained in:
Bram Moolenaar
2017-08-11 22:45:01 +02:00
parent da43b61ddd
commit b81bc77ae7
3 changed files with 30 additions and 10 deletions

View File

@@ -0,0 +1,11 @@
#!/usr/bin/python
#
# Program that sleeps for 100 msec
#
# This requires Python 2.6 or later.
import time
if __name__ == "__main__":
time.sleep(0.1) # sleep 100 msec