From 85a4be481b2d1cc36fd06afe5594a8f36729875f Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 11 Jun 2019 17:38:24 -0700 Subject: Reverted change to move cursor up 1 line with builtin pick --- config.def.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.def.h b/config.def.h index cef6d19..3445120 100644 --- a/config.def.h +++ b/config.def.h @@ -110,7 +110,7 @@ typedef struct { // Macros for picking from a list of options: #ifndef PICK -#define PICK(prompt, initial) " { printf '\\033[A' >/dev/tty; awk '{print length, $1}' | sort -n | cut -d' ' -f2- | "\ +#define PICK(prompt, initial) " { awk '{print length, $1}' | sort -n | cut -d' ' -f2- | "\ "grep -i -m1 \"^$(" ASKECHO(prompt, initial) " | sed 's/./[^&]*[&]/g')\"; } " #endif -- cgit v1.2.3