cpp-terminal icon indicating copy to clipboard operation
cpp-terminal copied to clipboard

CI: add tests for an interactive prompt

Open certik opened this issue 4 years ago • 0 comments

The way to test it is to add the input into a file, and then redirect stdin from this file. An example would be a string like "Hello Wold!<LEFT ARROW><LEFT ARROW><DELETE>" and check that we get the correct string. The <LEFT ARROW> and <DELETE> are meant to be the corresponding escape sequences for those keys.

certik avatar Oct 20 '20 20:10 certik