mirror of
https://github.com/palera1n/palera1n.git
synced 2026-12-05 15:54:30 +01:00
make tui bigger but within 80x24
This commit is contained in:
1 parent
c2a452d3b1
commit
5f5210b08d
5 files changed
+36
-12
No files matched your search
@@ -22,6 +22,22 @@ int destroy_window() {
|
||||
|
||||
int init_window() {
|
||||
setlocale(LC_ALL, NULL);
|
||||
if (getenv("NEWT_COLORS") == NULL)
|
||||
putenv(
|
||||
"NEWT_COLORS=root=,black\n"
|
||||
"border=white,black\n"
|
||||
"title=white,black\n"
|
||||
"roottext=red,black\n"
|
||||
"window=red,black\n"
|
||||
"textbox=white,black\n"
|
||||
"button=black,green\n"
|
||||
"compactbutton=white,black\n"
|
||||
"listbox=white,black\n"
|
||||
"actlistbox=black,white\n"
|
||||
"actsellistbox=black,green\n"
|
||||
"checkbox=green,black\n"
|
||||
"actcheckbox=black,green\n");
|
||||
|
||||
newtInit();
|
||||
newtCls();
|
||||
newtDrawRootText(0, 0, "Package Configuration");
|
||||
|
||||
Reference in new issue
Block a user