From: Michael Göhler Date: Fri, 19 Sep 2014 20:26:22 +0000 (+0200) Subject: compiling against ncursesw to display UTF-8 chars correctly, fixes #19 X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=bdd16c72ebd48c50a93d0a4c5cbe63776aa9d47e;p=smdp.git compiling against ncursesw to display UTF-8 chars correctly, fixes #19 --- diff --git a/Makefile b/Makefile index 1d4ce07..64ecee4 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,7 @@ CFLAGS = -O3 -Wall LDFLAGS = -s -LDLIBS = -lncurses +LDLIBS = -lncursesw OBJECTS = cstring.o cstack.o markdown.o parser.o viewer.o mdp.o DESTDIR ?= /usr/bin diff --git a/README.md b/README.md index c7b10cf..a5a9e7c 100644 --- a/README.md +++ b/README.md @@ -7,9 +7,9 @@ *How to get started:* -mdp needs the ncurses headers to compile. +mdp needs the ncursesw headers to compile. So make sure you have them installed: -- On Ubuntu you need ```libncurses5``` and ```libncurses5-dev``` to be installed. +- On Ubuntu you need ```libncursesw5``` and ```libncursesw5-dev``` to be installed. Now download and install mdp: