We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3841d4 commit b6e183eCopy full SHA for b6e183e
cmd2/cmd2.py
@@ -159,6 +159,10 @@
159
class NoConsoleScreenBufferError(Exception): # type: ignore[no-redef]
160
"""Dummy exception to use when prompt_toolkit.output.win32.NoConsoleScreenBufferError is not available."""
161
162
+ def __init__(self, msg: str = '') -> None:
163
+ """Initialize NoConsoleScreenBufferError custom exception instance."""
164
+ super().__init__(msg)
165
+
166
167
from .pt_utils import (
168
Cmd2Completer,
0 commit comments