TheRealOrange / terminalvideoplayer

GNU General Public License v3.0
281 stars 10 forks source link

macOS: Fails to get terminal size #1

Open kibiz0r opened 2 years ago

kibiz0r commented 2 years ago
  1. The #if defined(_WIN32) #elif defined(__linux__) pattern doesn't account for macOS
  2. Even if I change #elif defined(__linux__) to #else for get_terminal_size and the includes, the approach of using ioctl to get the terminal dimensions doesn't seem to work on macOS

Any reason not to use ncurses?