fails to link wl-pprint-terminfo versions of nurses that have been compiled with thread-safety enabled, like we do in the SUSE Linux distribution. @judah recommended in https://github.com/judah/terminfo/issues/16#issuecomment-232410179 that would probably be easiest to use ioctl() to get the terminal size, like haskeline does it.
The code
fails to link
wl-pprint-terminfo
versions of nurses that have been compiled with thread-safety enabled, like we do in the SUSE Linux distribution. @judah recommended in https://github.com/judah/terminfo/issues/16#issuecomment-232410179 that would probably be easiest to useioctl()
to get the terminal size, likehaskeline
does it.We came across this issue first in https://github.com/opensuse-haskell/configuration/issues/7.