В класс Window добавлена функция noutrefresh - копирования содержимого окна или виртуального экрана на виртуальную "область обновления".

This commit is contained in:
Alexander Zhirov 2026-01-09 02:50:15 +03:00
parent 59d5650285
commit bea63a42f1
Signed by: alexander
GPG key ID: C8D8BE544A27C511

View file

@ -46,7 +46,13 @@ public:
ncuiNotErr!wrefresh(_window); ncuiNotErr!wrefresh(_window);
} }
void put(int y, int x, string s) { void noutrefresh()
{
ncuiNotErr!wnoutrefresh(_window);
}
void put(int y, int x, string s)
{
ncuiNotErr!mvwaddnstr(_window, y, x, s.toStringz, s.length.to!int); ncuiNotErr!mvwaddnstr(_window, y, x, s.toStringz, s.length.to!int);
} }