aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 eb566f017..58b3f51d1 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)));