mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-10-01 17:29:07 +08:00
Interpret 8 as 127 (#510)
This resolves: https://github.com/ArthurSonzogni/FTXUI/issues/508 Apparently, this is a common issue: https://www.cs.colostate.edu/~mcrob/toolbox/unix/keyboard.html
This commit is contained in:

committed by
GitHub

parent
1689802349
commit
2c5681ee20
@@ -19,6 +19,8 @@ const std::map<std::string, std::string> g_uniformize = {{
|
||||
// See https://github.com/ArthurSonzogni/FTXUI/issues/337
|
||||
// Here, we uniformize the new line character to `\n`.
|
||||
{"\r", "\n"},
|
||||
// See: https://github.com/ArthurSonzogni/FTXUI/issues/508
|
||||
{std::string({8}), std::string({127})},
|
||||
}};
|
||||
|
||||
TerminalInputParser::TerminalInputParser(Sender<Task> out)
|
||||
|
Reference in New Issue
Block a user