summaryrefslogtreecommitdiffstats
path: root/cli/context.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-01-18 12:53:31 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-01-18 12:53:31 +0200
commita51e4faad87e0b18a14c4cb6c7b5796ad0467c11 (patch)
tree0f622319cd6fb208b14595f03f6acc81400006d6 /cli/context.cxx
parent5a01a260c368d3045f0870cc09620a772027e911 (diff)
downloadcli-a51e4faad87e0b18a14c4cb6c7b5796ad0467c11.tar.gz
cli-a51e4faad87e0b18a14c4cb6c7b5796ad0467c11.tar.xz
cli-a51e4faad87e0b18a14c4cb6c7b5796ad0467c11.zip
Stop quoting \c in plain text
The recommended approach is to quote manually and only values that can be genuinely confused for being part of the text. For example, '-', '/', etc.
Diffstat (limited to 'cli/context.cxx')
-rw-r--r--cli/context.cxx10
1 files changed, 0 insertions, 10 deletions
diff --git a/cli/context.cxx b/cli/context.cxx
index 25a88a0..e245dea 100644
--- a/cli/context.cxx
+++ b/cli/context.cxx
@@ -702,11 +702,6 @@ format_line (output_type ot, string& r, const char* s, size_t n)
if (b & itlc)
r += "\033[4m";
}
- else
- {
- if (b & code)
- r += "'";
- }
}
break;
@@ -830,11 +825,6 @@ format_line (output_type ot, string& r, const char* s, size_t n)
if (eb & itlc)
r += "\033[4m";
}
- else
- {
- if (b & code)
- r += "'";
- }
}
break;