Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/help/rest/textsleep.txt
blob: 6143313409e39e7829ce6370af7ff2fc7835054a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
.. _textsleep:

.. index::
   pair: command; textsleep

Wait for text
=============

**Syntax**:(textsleep)

This function's behavior is very similar to :ref:`usleep <usleep>`, but the
time is calculated from the number of letters currently displayed onscreen. If
you want to wait just long enough for the user to read the subtitle, use this
function. The user can alter the replay speed as desired using
:ref:`letterspersec <letterspersec>`. This value can be changed during replay
with the arrow keys.

**Available as**: command