Use tparm instead of tiparm as built in OSX ncurses does not support it

This commit is contained in:
Maxime Coste 2016-06-27 20:59:02 +01:00
parent df38d1539b
commit e07ff0c669

View File

@ -447,7 +447,7 @@ void NCursesUI::check_resize(bool force)
m_dimensions = CharCoord{ws.ws_row-1, ws.ws_col}; m_dimensions = CharCoord{ws.ws_row-1, ws.ws_col};
if (char* csr = tigetstr((char*)"csr")) if (char* csr = tigetstr((char*)"csr"))
putp(tiparm(csr, 0, ws.ws_row)); putp(tparm(csr, 0, ws.ws_row));
if (menu) if (menu)
{ {