|
|
|
@ -36,7 +36,12 @@ namespace ncpp
|
|
|
|
|
NotCurses (NotCurses &&other) = delete;
|
|
|
|
|
~NotCurses ();
|
|
|
|
|
|
|
|
|
|
notcurses* operator*() noexcept
|
|
|
|
|
operator notcurses* () noexcept
|
|
|
|
|
{
|
|
|
|
|
return nc;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
operator notcurses const* () const noexcept
|
|
|
|
|
{
|
|
|
|
|
return nc;
|
|
|
|
|
}
|
|
|
|
@ -53,7 +58,7 @@ namespace ncpp
|
|
|
|
|
|
|
|
|
|
static bool is_notcurses_stopped ()
|
|
|
|
|
{
|
|
|
|
|
return _instance == nullptr || _instance->nc == nullptr;
|
|
|
|
|
return *_instance == nullptr || _instance->nc == nullptr;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
static const char* ncmetric (uintmax_t val, unsigned decimal, char *buf, int omitdec, unsigned mult, int uprefix) noexcept
|
|
|
|
|