Closed oswcab closed 5 years ago
In some environments, termbox returns the width as 0 causing a segmentation fault when trying to calculate if the content fits the terminal screen.
Avoid the division by zero for now while the specific conditions in which this zero value is produced are clarified.
In some environments, termbox returns the width as 0 causing a segmentation fault when trying to calculate if the content fits the terminal screen.
Avoid the division by zero for now while the specific conditions in which this zero value is produced are clarified.