view src/testdir/test_short_sleep.py @ 26544:30abd8e55ee5 v8.2.3801

patch 8.2.3801: if a terminal shows in two windows, only one is redrawn Commit: https://github.com/vim/vim/commit/3194e5bf87f8e08f519b947a03c46677616cd7e3 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Dec 13 21:59:09 2021 +0000 patch 8.2.3801: if a terminal shows in two windows, only one is redrawn Problem: If a terminal shows in two windows, only one is redrawn. Solution: Reset the dirty row range only after redrawing all windows. (closes #9341)
author Bram Moolenaar <Bram@vim.org>
date Mon, 13 Dec 2021 23:00:03 +0100
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