diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2017-04-20 19:45:52 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2017-04-20 20:10:58 +0530 |
commit | 89224cfa980f4e3470e7e52decf5f9f19831dba6 (patch) | |
tree | 0e77a84ab9858be9f5bd338413681dfe732e9c4c /Makefile | |
parent | 01c1ef6e58c195821ff9ccb9489bd99a9101b0ec (diff) | |
download | nnn-89224cfa980f4e3470e7e52decf5f9f19831dba6.tar.gz |
Use readline() at chdir prompt
With the features the readline library provides it would be too naive to ignore.
We break out of the curses mode into the prompt and get back in.
This change introduces dependency on libncurses.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -4,10 +4,11 @@ PREFIX = /usr/local MANPREFIX = $(PREFIX)/share/man CFLAGS += -O3 -march=native -Wall -Wextra -Wno-unused-parameter +LDLIBS = -lreadline ifeq ($(shell uname), Darwin) - LDLIBS = -lncurses + LDLIBS += -lncurses else - LDLIBS = -lncursesw + LDLIBS += -lncursesw endif DISTFILES = nnn.c config.def.h nnn.1 Makefile README.md LICENSE |