summaryrefslogtreecommitdiffstats
path: root/Doc/library/curses.rst
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2015-04-15 22:06:05 (GMT)
committerSteve Dower <steve.dower@microsoft.com>2015-04-15 22:06:05 (GMT)
commitd2bc389e550464e3f71ec60071880335e8f9b6c6 (patch)
treeff1e0fd7f6231e3ccf09ca699de88618abd2ddf7 /Doc/library/curses.rst
parent9abe04975a1948f85c16896dcd68e7cf26bb593e (diff)
downloadcpython-d2bc389e550464e3f71ec60071880335e8f9b6c6.zip
cpython-d2bc389e550464e3f71ec60071880335e8f9b6c6.tar.gz
cpython-d2bc389e550464e3f71ec60071880335e8f9b6c6.tar.bz2
Issue #4254: Adds _curses.update_lines_cols() Patch by Arnon Yaari
Diffstat (limited to 'Doc/library/curses.rst')
-rw-r--r--Doc/library/curses.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/library/curses.rst b/Doc/library/curses.rst
index f3e60b4..e8dfd83 100644
--- a/Doc/library/curses.rst
+++ b/Doc/library/curses.rst
@@ -599,6 +599,13 @@ The module :mod:`curses` defines the following functions:
Only one *ch* can be pushed before :meth:`getch` is called.
+.. function:: update_lines_cols()
+
+ Update :envvar:`LINES` and :envvar:`COLS`. Useful for detecting manual screen resize.
+
+ .. versionadded:: 3.5
+
+
.. function:: unget_wch(ch)
Push *ch* so the next :meth:`get_wch` will return it.