Merge branch 'master' into webgl2

This commit is contained in:
Daniel Imms
2018-12-27 14:17:34 -08:00
committed by GitHub
9 changed files with 187 additions and 50 deletions
+3 -3
View File
@@ -113,9 +113,9 @@ function createTerminal(): void {
});
addDomListener(actionElements.findPrevious, 'keyup', (e) => {
const searchOptions = getSearchOptions();
searchOptions.incremental = e.key !== `Enter`;
term.findPrevious(actionElements.findPrevious.value, searchOptions);
if (e.key === `Enter`) {
term.findPrevious(actionElements.findPrevious.value, getSearchOptions());
}
});
// fit is called within a setTimeout, cols and rows need this.