File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -100,11 +100,14 @@ export class AccessibilityManager extends Disposable {
100100 this . _accessiblityBuffer . classList . add ( 'xterm-accessibility-buffer' ) ;
101101 this . register ( addDisposableDomListener ( this . _accessiblityBuffer , 'keydown' , ( ev : KeyboardEvent ) => {
102102 if ( ev . key === 'Tab' ) {
103- this . _terminal ?. textarea ?. focus ( ) ;
104103 this . _accessibilityBufferActive = false ;
105104 } }
106105 ) ) ;
107106 this . register ( addDisposableDomListener ( this . _accessiblityBuffer , 'focus' , ( ) => this . _refreshAccessibilityBuffer ( ) ) ) ;
107+ this . register ( addDisposableDomListener ( this . _accessiblityBuffer , 'focusout' , ( ) => {
108+ this . _accessibilityBufferActive = false ;
109+ } ) ) ;
110+
108111
109112 this . register ( this . _renderRowsDebouncer ) ;
110113 this . register ( this . _terminal . onResize ( e => this . _handleResize ( e . rows ) ) ) ;
You can’t perform that action at this time.
0 commit comments