Skip to content

Commit

Permalink
Merge pull request #258 from jquast/jquast-patch-1
Browse files Browse the repository at this point in the history
docfix: :meth:`break` -> cbreak
  • Loading branch information
jquast authored Aug 20, 2023
2 parents d81bb71 + 7962397 commit a34c6b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions blessed/terminal.py
Original file line number Diff line number Diff line change
Expand Up @@ -1367,13 +1367,13 @@ def raw(self):
r"""
A context manager for :func:`tty.setraw`.
Although both :meth:`break` and :meth:`raw` modes allow each keystroke
Although both :meth:`cbreak` and :meth:`raw` modes allow each keystroke
to be read immediately after it is pressed, Raw mode disables
processing of input and output.
In cbreak mode, special input characters such as ``^C`` or ``^S`` are
interpreted by the terminal driver and excluded from the stdin stream.
In raw mode these values are receive by the :meth:`inkey` method.
In raw mode these values are received by the :meth:`inkey` method.
Because output processing is not done, the newline ``'\n'`` is not
enough, you must also print carriage return to ensure that the cursor
Expand Down

0 comments on commit a34c6b1

Please sign in to comment.