The current master branch is unable to list the resolution on multiple screens.
Expected output (available on commit 9f33910):
# ./scres.swift -l
Display 0: 2880 x 1800 @ 1x @ 60Hz
Display 1: 3840 x 2160 @ 1x @ 60Hz
#
Actual output (on master):
# ./scres.swift -l
Display 0: 2880 x 1800 @ 1x @ 60Hz
#
In looking at the code (both manually and using git bisect) it seems the next commit (f4fca5e) is the culprit. It creates an array of size 1 rather than use the previous maxDisplays value. This seems to limit the tool to managing only the internal display.
The current
masterbranch is unable to list the resolution on multiple screens.Expected output (available on commit 9f33910):
Actual output (on master):
In looking at the code (both manually and using
git bisect) it seems the next commit (f4fca5e) is the culprit. It creates an array of size 1 rather than use the previousmaxDisplaysvalue. This seems to limit the tool to managing only the internal display.