mirror of
https://github.com/atom/atom.git
synced 2026-01-24 06:18:03 -05:00
Merge pull request #204 from github/command-panel-esc
support escape key to exit command panel
This commit is contained in:
@@ -83,7 +83,7 @@ class PreviewList extends ScrollView
|
||||
editSession = @rootView.open(operation.getPath())
|
||||
bufferRange = operation.execute(editSession)
|
||||
editSession.setSelectedBufferRange(bufferRange, autoscroll: true) if bufferRange
|
||||
@rootView.focus()
|
||||
@.focus()
|
||||
false
|
||||
|
||||
getPathCount: ->
|
||||
|
||||
Reference in New Issue
Block a user