aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2019-06-11 17:38:24 -0700
committerBruce Hill <bruce@bruce-hill.com>2019-06-11 17:38:24 -0700
commit85a4be481b2d1cc36fd06afe5594a8f36729875f (patch)
tree9a47c89c4607db75ccf1004d989ef55ef4459d19
parent91a31ee7e63f094f0f4afb868965b8daaf6fb9be (diff)
Reverted change to move cursor up 1 line with builtin pick
-rw-r--r--config.def.h2
1 files changed, 1 insertions, 1 deletions
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