Accept colours of the hex form #ffffff and translate to the nearest from

the xterm(1) 256-colour set.
This commit is contained in:
Nicholas Marriott
2011-01-08 00:48:54 +00:00
parent 64f02dab7c
commit 703160b5d6
3 changed files with 124 additions and 6 deletions

View File

@ -44,7 +44,7 @@ CDIAGFLAGS+= -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
CDIAGFLAGS+= -Wwrite-strings -Wshadow -Wpointer-arith -Wsign-compare
CDIAGFLAGS+= -Wundef -Wbad-function-cast -Winline -Wcast-align
LDADD= -lutil -lcurses -levent
DPADD= ${LIBUTIL} ${LIBCURSES} ${LIBEVENT}
LDADD= -lutil -lcurses -levent -lm
DPADD= ${LIBUTIL} ${LIBCURSES} ${LIBEVENT} ${LIBM}
.include <bsd.prog.mk>