view src/testdir/test_short_sleep.py @ 22079:ba2c3f38a596 v8.2.1589

patch 8.2.1589: term_start() options for size are overruled by 'termwinsize' Commit: https://github.com/vim/vim/commit/b936b79424d435b83cdebed5507a9d3800e66e6c Author: Bram Moolenaar <Bram@vim.org> Date: Fri Sep 4 18:34:09 2020 +0200 patch 8.2.1589: term_start() options for size are overruled by 'termwinsize' Problem: Term_start() options for size are overruled by 'termwinsize'. (Sergey Vlasov) Solution: Set 'termwinsize' to the specified size.
author Bram Moolenaar <Bram@vim.org>
date Fri, 04 Sep 2020 18:45:03 +0200
parents 191ccece2f5d
children
line wrap: on
line source

#!/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