NCurses initialization without clearing the screen

前端 未结 5 655
名媛妹妹
名媛妹妹 2021-01-17 20:29

I am writing a program that\'s similar to a shell. Once started up, there\'s a prompt and you enter in some app-specific commands.

So far this works just fine. How

5条回答
  •  后悔当初
    2021-01-17 20:49

    It might be simpler to use an interface like readline() rather than resorting to full-blown ncurses.

提交回复
热议问题