[Lunar-commits] <lunar> fix query color in case the description changes it

v4hn v4hn at lunar-linux.org
Tue Aug 19 22:38:28 CEST 2014


commit b9fb1cd319d8c807091e758b68a78b7d675d4ba4
Author: v4hn <v4hn at lunar-linux.org>
Date: Tue, 12 Aug 2014 17:04:58 +0200
URL: https://github.com/lunar-linux/lunar/commit/b9fb1cd319d8c807091e758b68a78b7d675d4ba4

fix query color in case the description changes it
---
  libs/messages.lunar | +1/-1     
  1 file changed, 1 insertion(+), 1 deletion(-)

--- a/libs/messages.lunar
+++ b/libs/messages.lunar
@@ -142,7 +142,7 @@ query() {
       if [ -n "$MODULE" ]; then
         echo -e -n "${MODULE_COLOR}${MODULE}${DEFAULT_COLOR}: "
       fi
-      echo -e -n "${QUERY_COLOR}$1 [$2] ${DEFAULT_COLOR}"
+      echo -e -n "${QUERY_COLOR}$1${QUERY_COLOR} [$2] ${DEFAULT_COLOR}"
       read -t $PROMPT_DELAY -n 1 RESPONSE
       if [ -z "$RESPONSE" ]; then
         RESPONSE=${RESPONSE:-$2}




More information about the Lunar-commits mailing list