()
| 799 | |
| 800 | |
| 801 | def test_set_console_title() -> None: |
| 802 | console = Console(force_terminal=True, _environ={}) |
| 803 | if console.legacy_windows: |
| 804 | return |
| 805 | |
| 806 | with console.capture() as captured: |
| 807 | console.set_window_title("hello") |
| 808 | |
| 809 | result = captured.get() |
| 810 | assert result == "\x1b]0;hello\x07" |
| 811 | |
| 812 | |
| 813 | def test_update_screen() -> None: |
nothing calls this directly
no test coverage detected