]> Sergey Matveev's repositories - nnn.git/commit
Fix initscr() crash on NetBSD
authorsin <sin@2f30.org>
Thu, 10 Mar 2016 17:00:12 +0000 (17:00 +0000)
committersin <sin@2f30.org>
Thu, 10 Mar 2016 17:03:12 +0000 (17:03 +0000)
commit3ccbaef87bb70273a6181b298aee01b0cb1f29ab
tree23a669c7af49ea4baf9b2f56b85c184368dbde90
parent829bcdd7d419b8e07d77edfa9b9878f0f399a99f
Fix initscr() crash on NetBSD

NetBSD has its own curses implementation and initscr() does not
terminate with an error if TERM is not set properly.

Instead check the return value and exit if an initialization
error occurs.
noice.c