Skip to content

Commit

Permalink
Merge pull request #161 from BestPig/master
Browse files Browse the repository at this point in the history
Fix some unicode printing problem with ncurses #160
  • Loading branch information
Xfennec authored Jul 26, 2021
2 parents 45ea35e + 2e6273f commit ceb6e78
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ ifeq ($(UNAME), Linux)
ifeq (, $(shell which $(PKG_CONFIG) 2> /dev/null))
$(error "pkg-config command not found")
endif
ifeq (, $(shell $(PKG_CONFIG) ncurses --libs 2> /dev/null))
ifeq (, $(shell $(PKG_CONFIG) ncursesw --libs 2> /dev/null))
$(error "ncurses package not found")
endif
override LDFLAGS += $(shell $(PKG_CONFIG) ncurses --libs)
override LDFLAGS += $(shell $(PKG_CONFIG) ncursesw --libs)
endif
ifeq ($(UNAME), Darwin)
override LDFLAGS += -lncurses
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ How do you build it from source

On FreeBSD, substitute `make` with `gmake`.

It depends on library ncurses, you may have to install corresponding packages (may be something like 'libncurses5-dev' or 'ncurses-devel').
It depends on library ncurses, you may have to install corresponding packages (may be something like 'libncurses5-dev', 'libncursesw6' or 'ncurses-devel').

How do you run it
-----------------
Expand Down

0 comments on commit ceb6e78

Please sign in to comment.