karan / atom-terminal

Atom package to open terminal on current file's directory with "ctrl-shift-t"
https://atom.io/packages/atom-terminal
MIT License
70 stars 30 forks source link

Fixed karan/atom-terminal#4: Use editor.buffer.file to find current file #14

Closed tkw1536 closed 10 years ago

tkw1536 commented 10 years ago

As suggested by @bagong, I changed the line

filepath = atom.workspaceView.find('.tree-view .selected')?.view()?.getPath?()

to fix ctrl-shit-t on Mac.

karan commented 10 years ago

Done! Thanks for fixing this.