message: [terminal] Parser: use switch-based parser instead of table based parser (due to issues with Emoji codepoints wrt. OSC_Put)
diff: #include <fmt/format.h>
  -#define VT_PARSER_TABLES 1
  -//#define VT_PARSER_SWITCH 1
  +//#define VT_PARSER_TABLES 1
  +#define VT_PARSER_SWITCH 1
  +// TODO: VT_PARSER_TABLES can NOT handle values >= 0xFF, such as unicode emoji codepoints.
  +// work around by use std::sort() with std::bineary_search() on ranged entries instead?
  namespace terminal {
  @@ -150,6 +152,8 @@ void Parser::handleViaTables()
  ParserTable static constexpr table = ParserTable::get();
  + assert((state_ == State::Ground || currentChar() < 0xFF) && "TODO: cannot handle unicode in table lookup");
  +
  if (state_ == State::Ground && isPrintChar(currentChar()))
  // FIXME a hack I am not yet feeling right with: Eliminate this if-condition.
  invokeAction(ActionClass::Event, Action::Print);
  