This reverts commit 29c70787. After the previous commit 29c70787 should no longer be needed as the curses dependency has been removed.