Skip to content

List index out of range #2

@wbashir

Description

@wbashir

Hello,

Looks like getting the width of the console is resulting in an error everytime list index out of range error. Are you getting this error?

MARGIN = 3
DEFAULT_WIDTH = int(os.popen('stty size', 'r').read().split()[1]) - MARGIN

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions