Compare commits

...

2 Commits

Author SHA1 Message Date
bee49ee7dc add help text
Some checks are pending
/ sync-to-origin (push) Waiting to run
2025-03-12 17:26:52 +01:00
accc2a79bc add install rule to Makefile 2025-03-12 17:07:50 +01:00
2 changed files with 13 additions and 1 deletions

View File

@ -33,6 +33,9 @@ $(OBJ_PATH)/%.o: $(SRC_PATH)/%.cpp
$(CPPC) $(CPPC_FLAGS) -c $< -o $@
install:
@install -vpm 755 -o root -g root $(BIN_PATH)/bakatui /usr/bin/
clean:
rm -fr build

View File

@ -16,7 +16,7 @@
#include <vector>
using nlohmann::json;
#define BOTTOM_PADDING 3
#define BOTTOM_PADDING 5
#define DEFAULT_OFFSET 3
@ -246,6 +246,10 @@ void timetable_page() {
wattroff(selector_windows[i], COLOR_PAIR(COLOR_RED));
}
}
attron(COLOR_PAIR(COLOR_BLUE));
mvprintw(LINES - 2, 0,
"Arrows/hjkl to select | ENTER to show info | F1 to exit");
attroff(COLOR_PAIR(COLOR_BLUE));
update_panels();
doupdate();
@ -402,6 +406,11 @@ void timetable_page() {
mvwaddwstr(infobox_window, 6, 1, Theme.c_str());
wattroff(infobox_window, COLOR_PAIR(COLOR_CYAN));
wattron(infobox_window, COLOR_PAIR(COLOR_BLUE));
mvwaddstr(infobox_window, getmaxy(infobox_window) - 2, 1,
"Press any key to close");
wattroff(infobox_window, COLOR_PAIR(COLOR_BLUE));
top_panel(infobox_panel);
update_panels();
doupdate();