Загрузить файлы в «/»

This commit is contained in:
8nlight 2023-09-15 10:21:20 +03:00
parent 324399c125
commit 1c23ce4d7b
1 changed files with 5 additions and 0 deletions

5
main.c
View File

@ -38,6 +38,9 @@ int main(void) {
noecho();
timeout(0);
curs_set(0);
start_color();
init_pair(1, COLOR_RED, COLOR_BLACK);
while (1) {
@ -57,7 +60,9 @@ int main(void) {
/* Start y */
unsigned int j = 3;
attron(COLOR_PAIR(1));
mvprintw(j, 0, ">");
attroff(COLOR_PAIR(1));
for (size_t i = cursor; i < cursor + 10; i++) {
if (i > timer_size)