-
Notifications
You must be signed in to change notification settings - Fork 57
Description
v4.3.5 introduced a regression (well 2814d46 to be precise) such that the console output of my application, provided by AppStatus (https://github.com/sociomantic-tsunami/ocean/blob/2814d46b313a3be7c96eacd470242f94d72bab3c/src/ocean/io/console/AppStatus.d), is truncated at the 80th column.
I have a workaround but I suspect the correct fix to the regression (i.e. restoring the old behaviour but completely untested) is changing the 80 to 0 here:
ocean/src/ocean/io/console/AppStatus.d
Line 400 in 7050fff
| int terminal_columns = 80) |
This may however break the intention of 2300aa9
Without looking to hard I would think a correct design would be to default to querying the terminal (the behaviour you get by using 0 for terminal width). If there is no terminal (i.e.
Line 316 in 7050fff
| ioctl(0, TIOCGWINSZ, &max); |