Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/rich_cli/win_vt.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def _set_console_mode(mode: int) -> bool:
def enable_windows_virtual_terminal_processing():
"""Context manager to enable virtual terminal processing on enter,
and restore the previous setting on exit. Does nothing if run on
a non-Widows platfrom.
a non-Windows platform.

"""
current_console_mode = _get_console_mode()
Expand All @@ -55,7 +55,7 @@ def enable_windows_virtual_terminal_processing():
def enable_windows_virtual_terminal_processing():
"""Context manager to enable virtual terminal processing on enter,
and restore the previous setting on exit. Does nothing if run on
a non-Widows platfrom.
a non-Windows platform.

"""
yield