never have exit this dialog hint at the bottom of terminal accesssible buffer

This commit is contained in:
meganrogge 2023-09-25 10:24:27 -07:00
parent a3b3379067
commit 365e6b212d
No known key found for this signature in database
GPG key ID: AA74638D4878183D

View file

@ -392,7 +392,7 @@ export class AccessibleView extends Disposable {
}
}
const verbose = this._configurationService.getValue(provider.verbositySettingKey);
const exitThisDialogHint = verbose ? localize('exit', '\n\nExit this dialog (Escape).') : '';
const exitThisDialogHint = verbose && !provider.options.positionBottom ? localize('exit', '\n\nExit this dialog (Escape).') : '';
this._currentContent = message + provider.provideContent() + readMoreLink + disableHelpHint + exitThisDialogHint;
this._updateContextKeys(provider, true);