aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-08-17 14:25:09 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-08-17 14:26:31 +0100
commit4c875404ad6f7f221e21f9deaef1abd30683e4f1 (patch)
tree24537bc33c1473f6da468a1fe123bf8c4b8dcde4
parent69d1ec3686fbdcf50d736384be914a7c12ad8576 (diff)
downloadpaludis-4c875404ad6f7f221e21f9deaef1abd30683e4f1.tar.gz
paludis-4c875404ad6f7f221e21f9deaef1abd30683e4f1.tar.xz
More escapes
-rw-r--r--src/clients/cave/format_string.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/clients/cave/format_string.cc b/src/clients/cave/format_string.cc
index eb566f0..58b3f51 100644
--- a/src/clients/cave/format_string.cc
+++ b/src/clients/cave/format_string.cc
@@ -62,6 +62,16 @@ paludis::cave::format_string(
result.append("\t");
break;
+ case 'a':
+ if (*condition_stack.begin())
+ result.append("\a");
+ break;
+
+ case 'e':
+ if (*condition_stack.begin())
+ result.append("\033");
+ break;
+
default:
if (*condition_stack.begin())
result.append(stringify(f.at(p)));