Skip to content

Commit

Permalink
Suppress default behavior when handling the ⌃C key
Browse files Browse the repository at this point in the history
Similar should probably be done for the Git Blame command which might make textmate/textmate@a627991 unnecessary (PR textmate/textmate#1261).
  • Loading branch information
sorbits committed Feb 3, 2015
1 parent 6ff5770 commit a8f35ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Support/shared/lib/tm/executor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@ def script_style_header
function press(evt) {
if (evt.keyCode == 67 && evt.ctrlKey == true) {
TextMate.system("kill -s USR1 #{::Process.pid};", null);
evt.preventDefault();
}
}
Expand Down

0 comments on commit a8f35ce

Please sign in to comment.