Color moved from libscscreensaver to libscgui

This commit is contained in:
Bob Polis 2024-11-27 12:30:19 +01:00
parent d494f8d822
commit 49a4a07f64
2 changed files with 5 additions and 2 deletions

View File

@ -1,4 +1,7 @@
LDLIBS := -lscterm -lm -lscscreensaver
LDLIBS := -lscterm -lm -lscgui
LDLIBS += $(shell pkg-config sdl2 --libs)
CXXFLAGS += $(shell pkg-config sdl2 --cflags)
BIN := $(shell basename $$(pwd))

View File

@ -2,7 +2,7 @@
#include <ctime>
#include <cstdlib>
#include <libscterm.hpp>
#include <libscscreensaver.hpp>
#include <libscgui.hpp>
void show_rows_cols(const sc::term& t) {
std::cout << t.rows() << " rows, " << t.cols() << " cols\n";