Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix escape key handling #72691

Merged
merged 2 commits into from
Jun 1, 2020
Merged

Conversation

GuillaumeGomez
Copy link
Member

@GuillaumeGomez GuillaumeGomez commented May 28, 2020

Fixes #72647.

The problem was that you could have a timeout just after the moment you press "escape", putting back the results.

r? @kinnison

@JohnTitor JohnTitor added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label May 28, 2020
Copy link
Contributor

@kinnison kinnison left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm tempted to ask for a factoring of the clearing of the timeout into a function,but if you don't think it's worthwhile then this is clean afaict, but I'm unable to build compilers/rustdoc right now due to my desktop being fluffed and being out of disk space on my laptop. r=me with or without factoring the function out, thought I'd prefer it if you did.

@GuillaumeGomez
Copy link
Member Author

I'll do it then. :)

@GuillaumeGomez
Copy link
Member Author

Updated!

@kinnison
Copy link
Contributor

@bors r+

@bors
Copy link
Collaborator

bors commented May 31, 2020

📌 Commit 7a2efa3 has been approved by kinnison

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels May 31, 2020
bors added a commit to rust-lang-ci/rust that referenced this pull request May 31, 2020
Rollup of 5 pull requests

Successful merges:

 - rust-lang#72691 (Fix escape key handling)
 - rust-lang#72807 (Avoid setting wrong obligation cause span of associated type mismatch)
 - rust-lang#72812 (Miri tests: skip parts of test_char_range)
 - rust-lang#72829 (Clarify terms in doc comments)
 - rust-lang#72830 (Fix release notes for niche initialization change)

Failed merges:

r? @ghost
@bors bors merged commit 6cd9a67 into rust-lang:master Jun 1, 2020
@GuillaumeGomez GuillaumeGomez deleted the escape-key-handling branch June 8, 2020 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

When pressing ESC on search, it sometimes bring back the results
4 participants