8000 Fix: quit the application with Cmd + Q by ackey · Pull Request #2404 · onivim/oni · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Apr 1, 2020. It is now read-only.

Fix: quit the application with Cmd + Q #2404

Merged
merged 2 commits into from
Jul 10, 2018
Merged

Conversation

ackey
Copy link
Contributor
@ackey ackey commented Jul 6, 2018

On mac we should quit the application when the user press Cmd + Q.
Currently we need to use Cmd + Q twice to quit the application.
This PR fixes it.

@codecov
Copy link
codecov bot commented Jul 6, 2018

Codecov Report

Merging #2404 into master will increase coverage by 0.04%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2404      +/-   ##
==========================================
+ Coverage   38.19%   38.24%   +0.04%     
==========================================
  Files         300      300              
  Lines       12522    12525       +3     
  Branches     1649     1650       +1     
==========================================
+ Hits         4783     4790       +7     
+ Misses       7484     7480       -4     
  Partials      255      255
Impacted Files Coverage Δ
browser/src/App.ts 9.05% <100%> (+2.68%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 84924fb...d4ed088. Read the comment docs.

Copy link
Member
@CrossR CrossR left a comment

Choose a reason for hiding this comment

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

Changes look good, and gave it a quick test on mac and it worked well!

Thanks for adding the unit tests too, will be useful to make sure this functionality isn't changed by mistake in the future!

Just waiting on a flaky CI test to pass, then this can be merged.

@ackey
Copy link
Contributor Author
ackey commented Jul 10, 2018

@CrossR thank you for reviewing 🙂

@bryphe
Copy link
Member
bryphe commented Jul 10, 2018

Thanks @ackey and @CrossR ! Really appreciate the contribution + review 💯

Looks like the builds passed now - bringing this in 👍

@bryphe bryphe merged commit d1094fe into onivim:master Jul 10, 2018
@ackey ackey deleted the ackey/issue/cmd_q branch July 10, 2018 22:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0