Merge branch 'master' into parser_colon_notation

This commit is contained in:
Daniel Imms
2019-07-03 16:58:37 -07:00
committed by GitHub
5 changed files with 11 additions and 11 deletions
+5 -1
View File
@@ -258,7 +258,11 @@ export class AccessibilityManager extends Disposable {
const posInSet = (buffer.ydisp + i + 1).toString();
const element = this._rowElements[i];
if (element) {
element.textContent = lineData.length === 0 ? Strings.blankLine : lineData;
if (lineData.length === 0) {
element.innerHTML = ' ';
} else {
element.textContent = lineData;
}
element.setAttribute('aria-posinset', posInSet);
element.setAttribute('aria-setsize', setSize);
}
-1
View File
@@ -3,6 +3,5 @@
* @license MIT
*/
export let blankLine = 'Blank line';
export let promptLabel = 'Terminal input';
export let tooMuchOutput = 'Too much output to announce, navigate to rows manually to read';
+1 -1
View File
@@ -506,7 +506,7 @@ export class SelectionService implements ISelectionService {
}
// Return early if the click event is not in the buffer (eg. in scroll bar)
if (line.length >= this._model.selectionStart[0]) {
if (line.length === this._model.selectionStart[0]) {
return;
}