Skip to content

Commit

Permalink
termwiz: windows: allow ESC to be recognized again
Browse files Browse the repository at this point in the history
After processing a batch of input records, we need to effectively
flush any pending ambiguous sequences in order to register a lone
ESC key press.
  • Loading branch information
wez committed Apr 6, 2020
1 parent b279bb6 commit d98fee9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions termwiz/src/input.rs
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,7 @@ mod windows {
_ => {}
}
}
self.process_bytes(callback, false);
}
}
}
Expand Down

0 comments on commit d98fee9

Please sign in to comment.