home/src/ncurses.hh

29 lines
508 B
C++
Raw Normal View History

#ifndef ncurses_hh_INCLUDED
#define ncurses_hh_INCLUDED
2012-06-28 14:11:43 +02:00
#include "client.hh"
namespace Kakoune
{
2012-06-28 14:11:43 +02:00
class NCursesClient : public Client
{
public:
2012-06-28 14:11:43 +02:00
NCursesClient();
~NCursesClient();
2012-06-28 14:11:43 +02:00
NCursesClient(const NCursesClient&) = delete;
NCursesClient& operator=(const NCursesClient&) = delete;
void draw_window(Window& window);
void print_status(const String& status);
String prompt(const String& prompt, Completer completer);
Key get_key();
};
}
#endif // ncurses_hh_INCLUDED