summaryrefslogtreecommitdiff
path: root/docs/manual/userinput.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/manual/userinput.rst')
-rw-r--r--docs/manual/userinput.rst13
1 files changed, 7 insertions, 6 deletions
diff --git a/docs/manual/userinput.rst b/docs/manual/userinput.rst
index dc41ca9..17767be 100644
--- a/docs/manual/userinput.rst
+++ b/docs/manual/userinput.rst
@@ -10,12 +10,13 @@ All input from the user is parsed by a display module, and returned from either
the :meth:`get_input` or :meth:`get_input_nonblocking` methods as a list.
Window resize events are also included in the user input.
-The :class:`MainLoop` class will take this input and pass each item to the
-widget methods :meth:`keypress` or :meth:`mouse_event`. You may filter input
-(possibly removing or altering it) before it is passed to the widgets, or can
-catch unhandled input by passing functions into the :class:`MainLoop`
-constructor. If the window was resized :class:`MainLoop` will query the new
-display size and update the screen.
+The :class:`~urwid.main_loop.MainLoop` class will take this input and pass each
+item to the widget methods :meth:`keypress` or :meth:`mouse_event`. You may
+filter input (possibly removing or altering it) before it is passed to the
+widgets, or can catch unhandled input by passing functions into the
+:class:`~urwid.main_loop.MainLoop` constructor. If the window was resized
+:class:`~urwid.main_loop.MainLoop` will query the new display size and update
+the screen.
There may be more than one keystroke or mouse event processed at a time, and
each is sent as a separate item in the list.