From bdd16c72ebd48c50a93d0a4c5cbe63776aa9d47e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michael=20G=C3=B6hler?= Date: Fri, 19 Sep 2014 22:26:22 +0200 Subject: [PATCH] compiling against ncursesw to display UTF-8 chars correctly, fixes #19 --- Makefile | 2 +- README.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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: -- 2.20.1