We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c30bf17 commit 93670ffCopy full SHA for 93670ff
cmd2/cmd2.py
@@ -2819,8 +2819,8 @@ def onecmd_plus_hooks(
2819
2820
def _run_cmdfinalization_hooks(self, stop: bool, statement: Statement | None) -> bool:
2821
"""Run the command finalization hooks."""
2822
- if self._initial_termios_settings is not None and self.stdin.isatty():
2823
- import io
+ if self._initial_termios_settings is not None and self.stdin.isatty(): # type: ignore[unreachable]
+ import io # type: ignore[unreachable]
2824
import termios
2825
2826
# Before the next command runs, fix any terminal problems like those
0 commit comments