This commit is contained in:
Jörg Breitbart
2018-09-02 17:52:56 +02:00
parent dd7081f948
commit 6057586ff3
2 changed files with 54 additions and 1 deletions
+1 -1
View File
@@ -117,7 +117,7 @@ export class SearchHelper implements ISearchHelper {
if (searchIndex >= 0) {
const line = this._terminal._core.buffer.lines.get(y);
for (let i = 0; i < searchIndex; i++) {
const charData = line[i];
const charData = line.get(i);
// Adjust the searchIndex to normalize emoji into single chars
const char = charData[1/*CHAR_DATA_CHAR_INDEX*/];
if (char.length > 1) {