Cleared terminal lines should have isWrapped reset

Fixes #1710
This commit is contained in:
Alex Ross
2018-10-01 13:34:13 -07:00
parent d4ec50e7de
commit 18871f0d3c
3 changed files with 22 additions and 4 deletions
+3
View File
@@ -82,6 +82,9 @@ describe('search addon', () => {
expect(hello3).eql(undefined);
expect(llo).eql(undefined);
expect(goodbye).eql({col: 0, row: 5, term: 'goodbye'});
term.core.resize(9, 5);
const hello0Resize = term.searchHelper.findInLine('Hello', 0);
expect(hello0Resize).eql({col: 8, row: 0, term: 'Hello'});
});
it('should respect search regex', () => {
search.apply(<any>MockTerminal);