mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
Problem: Terminal test takes too long. Solution: Instead of "sleep 1" use a Python program to briefly sleep.
12 lines
174 B
Python
12 lines
174 B
Python
#!/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
|