From 242f951c84973467b7b08be233f81c0029710516 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Fri, 9 Jun 2017 09:54:18 +0100 Subject: [PATCH] More explicit and simpler code --- src/input_handler.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input_handler.cc b/src/input_handler.cc index 5d88a4f5..06f1eb1e 100644 --- a/src/input_handler.cc +++ b/src/input_handler.cc @@ -492,7 +492,7 @@ public: if (c == '\n' or c == '\r') { res += StringView{pos, it}; - utf8::dump(std::back_inserter(res), c == '\n' ? 0x2424 : 0x240D); + res += c == '\n' ? "␤" : "␍"; pos = it+1; } }