/// <summary> /// Shuts down Curses Sharp and the underlying curses implementation. /// </summary> public static void EndWin() { if (stdscr == null) { throw new InvalidOperationException("Curses is not initialized."); } stdscr.Dispose(); CursesMethods.endwin(); //stdscr = null; }