diff --git a/src/ftxui/component/terminal_input_parser.cpp b/src/ftxui/component/terminal_input_parser.cpp index f19d6adfb190e6f679d98a8c822f99b75a592f63..4742818d1b884483a351081738ac4cb3e583c9cf 100644 --- a/src/ftxui/component/terminal_input_parser.cpp +++ b/src/ftxui/component/terminal_input_parser.cpp @@ -13,7 +13,7 @@ namespace ftxui { // NOLINTNEXTLINE -const std::map<std::string, std::string> g_uniformize = {{ +const std::map<std::string, std::string> g_uniformize = { // Microsoft's terminal uses a different new line character for the return // key. This also happens with linux with the `bind` command: // See https://github.com/ArthurSonzogni/FTXUI/issues/337 @@ -21,7 +21,7 @@ const std::map<std::string, std::string> g_uniformize = {{ {"\r", "\n"}, // See: https://github.com/ArthurSonzogni/FTXUI/issues/508 {std::string({8}), std::string({127})}, -}}; +}; TerminalInputParser::TerminalInputParser(Sender<Task> out) : out_(std::move(out)) {}