"stty size",
timeout_seconds=1.0,
).split()
"stty size",
timeout_seconds=1.0,
).split()
- except Exception as e:
- logger.exception(e)
"tput rows",
timeout_seconds=1.0,
)
"tput rows",
timeout_seconds=1.0,
)
- except Exception as e:
- logger.exception(e)
rows = None
if cols is None:
rows = None
if cols is None:
"tput cols",
timeout_seconds=1.0,
)
"tput cols",
timeout_seconds=1.0,
)
- except Exception as e:
- logger.exception(e)
cols = None
if not rows or not cols:
cols = None
if not rows or not cols: