Skip to content

add command handler to uncatch keyboard event if search is closed#4407

Merged
Stanzilla merged 1 commit intovercel:canaryfrom
LabhanshAgrawal:SearchBox
Mar 25, 2020
Merged

add command handler to uncatch keyboard event if search is closed#4407
Stanzilla merged 1 commit intovercel:canaryfrom
LabhanshAgrawal:SearchBox

Conversation

@LabhanshAgrawal
Copy link
Collaborator

Fixes #3929
Added a check to see if searchbox is open before dispatching the SESSION_SEARCH_CLOSE action and set catched to false if it isn't so that xterm is able to receive it.
Doing it by using a command handler, had to provide dispatch to command handlers for this to work.

Do test it out to see if it's working properly, and not impacting any plugins.

@Stanzilla
Copy link
Contributor

Worked well here, thank you!

@Stanzilla Stanzilla merged commit 73e45f5 into vercel:canary Mar 25, 2020
@LabhanshAgrawal LabhanshAgrawal deleted the SearchBox branch March 25, 2020 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5bc8e0b (on canary) breaks <esc> key

2 participants