Skip to content

Commit

Permalink
Add explicit initialization of extender during parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
KazDragon committed Jan 4, 2024
1 parent c6cdbc8 commit ac86f02
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/detail/parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ std::optional<terminalpp::token> parser::parser::parse_idle(byte input)
state_ = state::arguments;
meta_ = false;
initializer_ = terminalpp::ansi::control7::csi[1];
extender_ = '\0';
argument_ = {};
arguments_ = {};
return {};
Expand All @@ -88,6 +89,7 @@ std::optional<terminalpp::token> parser::parser::parse_idle(byte input)
state_ = state::arguments;
meta_ = false;
initializer_ = terminalpp::ansi::control7::ss3[1];
extender_ = '\0';
argument_ = {};
arguments_ = {};
return {};
Expand Down

0 comments on commit ac86f02

Please sign in to comment.