mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2024-11-26 04:31:34 +08:00
Fix compile with gcc. (#529)
This resolves: - https://github.com/ArthurSonzogni/FTXUI/issues/526 - https://github.com/ArthurSonzogni/FTXUI/issues/520
This commit is contained in:
parent
0542227ba7
commit
a52b959f66
@ -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)) {}
|
||||
|
Loading…
Reference in New Issue
Block a user