mirror of
https://github.com/mawww/kakoune.git
synced 2024-12-20 10:01:57 +03:00
29 lines
532 B
C++
29 lines
532 B
C++
#ifndef ncurses_hh_INCLUDED
|
|
#define ncurses_hh_INCLUDED
|
|
|
|
#include "client.hh"
|
|
|
|
namespace Kakoune
|
|
{
|
|
|
|
class NCursesClient : public Client
|
|
{
|
|
public:
|
|
NCursesClient();
|
|
~NCursesClient();
|
|
|
|
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, const Context& context, Completer completer);
|
|
Key get_key();
|
|
};
|
|
|
|
}
|
|
|
|
#endif // ncurses_hh_INCLUDED
|
|
|