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 {
|
namespace ftxui {
|
||||||
|
|
||||||
// NOLINTNEXTLINE
|
// 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
|
// Microsoft's terminal uses a different new line character for the return
|
||||||
// key. This also happens with linux with the `bind` command:
|
// key. This also happens with linux with the `bind` command:
|
||||||
// See https://github.com/ArthurSonzogni/FTXUI/issues/337
|
// See https://github.com/ArthurSonzogni/FTXUI/issues/337
|
||||||
@ -21,7 +21,7 @@ const std::map<std::string, std::string> g_uniformize = {{
|
|||||||
{"\r", "\n"},
|
{"\r", "\n"},
|
||||||
// See: https://github.com/ArthurSonzogni/FTXUI/issues/508
|
// See: https://github.com/ArthurSonzogni/FTXUI/issues/508
|
||||||
{std::string({8}), std::string({127})},
|
{std::string({8}), std::string({127})},
|
||||||
}};
|
};
|
||||||
|
|
||||||
TerminalInputParser::TerminalInputParser(Sender<Task> out)
|
TerminalInputParser::TerminalInputParser(Sender<Task> out)
|
||||||
: out_(std::move(out)) {}
|
: out_(std::move(out)) {}
|
||||||
|
Loading…
Reference in New Issue
Block a user