Skip to content

Commit

Permalink
Fix recording console for new rich-click 1.5 (#24611)
Browse files Browse the repository at this point in the history
  • Loading branch information
potiuk authored Jun 22, 2022
1 parent e2f1950 commit 8231add
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dev/breeze/src/airflow_breeze/utils/recording.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ def save_ouput_as_svg():

class RecordingConsole(rich.console.Console):
def __init__(self, **kwargs):
super().__init__(record=True, width=width_int, force_terminal=True, **kwargs)
kwargs["force_terminal"] = True
kwargs["width"] = width_int
super().__init__(record=True, **kwargs)
global help_console
help_console = self

Expand Down

0 comments on commit 8231add

Please sign in to comment.