diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2019-06-11 17:38:24 -0700 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2019-06-11 17:38:24 -0700 |
| commit | 85a4be481b2d1cc36fd06afe5594a8f36729875f (patch) | |
| tree | 9a47c89c4607db75ccf1004d989ef55ef4459d19 /config.def.h | |
| parent | 91a31ee7e63f094f0f4afb868965b8daaf6fb9be (diff) | |
Reverted change to move cursor up 1 line with builtin pick
Diffstat (limited to 'config.def.h')
| -rw-r--r-- | config.def.h | 2 |
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 |
