Skip to content

Commit 98221d3

Browse files
authored
Merge pull request microsoft#181268 from microsoft/merogge/undefined
get first buffer line to show up in go to command quick pick
2 parents 4d7c6cb + 227844f commit 98221d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/terminalContrib/accessibility/browser/terminalAccessibleBuffer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export class AccessibleBufferWidget extends TerminalAccessibleWidget {
9696
return;
9797
}
9898
line = this._bufferTracker.bufferToEditorLineMapping.get(line);
99-
if (!line) {
99+
if (line === undefined) {
100100
return;
101101
}
102102
return line + 1;

0 commit comments

Comments
 (0)