mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Add description of Sleep (== pause) command in keutests
This commit is contained in:
parent
e20f78c4b0
commit
aba79b78c7
@ -47,6 +47,9 @@
|
||||
# KD: n
|
||||
# Changes the delay among typed charactes to n milliseconds.
|
||||
#
|
||||
# Sleep f
|
||||
# Single delay of f seconds.
|
||||
#
|
||||
#
|
||||
# This example instructs LyX to type "Hello World", then exports it as
|
||||
# LaTeX, and verifies that the typed characters are indeed present in the
|
||||
|
@ -354,7 +354,7 @@ while not failed:
|
||||
print 'lyx_pid: ' + lyx_pid + '\n'
|
||||
print 'lyx_win: ' + lyx_window_name + '\n'
|
||||
elif c[0:5] == 'Sleep':
|
||||
print "Sleeping for " + c[6:] + "\n"
|
||||
print "Sleeping for " + c[6:] + " seconds\n"
|
||||
time.sleep(float(c[6:]))
|
||||
elif c[0:4] == 'Exec':
|
||||
cmd = c[5:].rstrip()
|
||||
|
Loading…
Reference in New Issue
Block a user