Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
olzhasar committed Feb 3, 2024
1 parent 6f6328a commit 490eccc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pytest_watcher/term_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def wrapper(*args, **kwargs):


@posix_only
def enter_cbbreak():
def enter_cbreak():
tty.setcbreak(sys.stdin.fileno())


Expand Down
4 changes: 2 additions & 2 deletions pytest_watcher/watcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def main_loop(*, runner: str, runner_args: List[str], delay: float, clear: bool)
_invoke_runner(runner, runner_args, clear=clear)

finally:
term_utils.enter_cbbreak()
term_utils.enter_cbreak()

clear_stdin()
print_short_menu(runner_args)
Expand Down Expand Up @@ -195,7 +195,7 @@ def run():
sys.stdout.write(f"Runner command: {config.runner}\n")
sys.stdout.write(f"Waiting for file changes in {config.path.absolute()}\n")

term_utils.enter_cbbreak()
term_utils.enter_cbreak()

if config.now:
trigger.emit()
Expand Down

0 comments on commit 490eccc

Please sign in to comment.