public int box(int vAttrs, int hAttrs) => Curse.box(Handle, vAttrs, hAttrs);
public int box(WinAttribute vAttrs, WinAttribute hAttrs) => Curse.box(Handle, (int)vAttrs, (int)hAttrs);
public int SetColor(ColorPair pair) => Curse.wbkgd(Handle, Curse.ColorPair(pair.pairId));
public int Refresh() => Curse.wrefresh(Handle);
static Window() { Curse.initscr(); Standar = new Window(Curse.consoleGetStdscr(), Curse.Lines, Curse.Cols); Current = new Window(Curse.consoleGetCurscr()); }
public int SetColor(int colorPairId) => Curse.wbkgd(Handle, Curse.ColorPair(colorPairId));
public int Attroff(int attrs) => Curse.wattroff(Handle, attrs);
public int RedrawLine(int line, int count) => Curse.wredrawln(Handle, line, count);
public int Move(int y, int x) => Curse.wmove(Handle, y, x);
public int AddCh(int c) => Curse.waddCh(Handle, c);
static public Window CreateDerWindow(Window parent, int height, int width, int x, int y) { IntPtr handle = Curse.derwin(parent.Handle, height, width, y, x); return(new Window(handle, height, width)); }
static public Window CreateNewWindow(int height, int width, int x, int y) { IntPtr handle = Curse.newwin(height, width, y, x); return(new Window(handle, height, width)); }
static public Window CreateSubWindowCentered(Window parent, int height, int width, int x, int y) { IntPtr handle = Curse.subwin(parent.Handle, height, width, y - height / 2, x - width / 2); return(new Window(handle, height, width)); }
public int ClearToEol() => Curse.wclrtoeol(Handle);
public int Mvprintw(int y, int x, string s) => Curse.mvwprintw(Handle, y, x, s);
public int RedrawLine(int line) => Curse.wredrawln(Handle, line, 1);
public int Printw(string s) => Curse.wprintw(Handle, s);
public int Clear() => Curse.wclear(Handle);
public static int InitPair(short pairId, ColorCode forground, ColorCode Background) => Curse.init_pair(pairId, forground, Background);