Skip to content

Commit

Permalink
Call original keymap function for TAB and update CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
jcubic committed Feb 7, 2017
1 parent 80e80fb commit 50b3724
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 14 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG
@@ -1,3 +1,5 @@
1.0.2 fix CTRL+V in Firefox
1.0.1 fix signature
1.0.0 copy to system clipboard when copy to kill area
simplify changing of terminal colors using css variables
always export history and import when importHistory option is true
Expand Down
6 changes: 3 additions & 3 deletions js/jquery.terminal-1.0.1.js
Expand Up @@ -31,7 +31,7 @@
* Copyright (c) 2007-2013 Alexandru Marasteanu <hello at alexei dot ro>
* licensed under 3 clause BSD license
*
* Date: Tue, 07 Feb 2017 14:11:53 +0000
* Date: Tue, 07 Feb 2017 14:28:02 +0000
*/

/* TODO:
Expand Down Expand Up @@ -3878,7 +3878,7 @@
'CTRL+L': function() {
self.clear();
},
'TAB': function() {
'TAB': function(e, orignal) {
// TODO: move this to cmd plugin
// add completion = array | function
// !!! Problem complete more then one key need terminal
Expand Down Expand Up @@ -3918,7 +3918,7 @@
throw new Error(strings.invalidCompletion);
}
} else {
self.insert('\t'); // original tab is overwritten
orignal();
}
return false;
},
Expand Down
6 changes: 3 additions & 3 deletions js/jquery.terminal-1.0.1.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/jquery.terminal-src.js
Expand Up @@ -3878,7 +3878,7 @@
'CTRL+L': function() {
self.clear();
},
'TAB': function() {
'TAB': function(e, orignal) {
// TODO: move this to cmd plugin
// add completion = array | function
// !!! Problem complete more then one key need terminal
Expand Down Expand Up @@ -3918,7 +3918,7 @@
throw new Error(strings.invalidCompletion);
}
} else {
self.insert('\t'); // original tab is overwritten
orignal();
}
return false;
},
Expand Down
6 changes: 3 additions & 3 deletions js/jquery.terminal.js
Expand Up @@ -31,7 +31,7 @@
* Copyright (c) 2007-2013 Alexandru Marasteanu <hello at alexei dot ro>
* licensed under 3 clause BSD license
*
* Date: Tue, 07 Feb 2017 14:11:53 +0000
* Date: Tue, 07 Feb 2017 14:28:02 +0000
*/

/* TODO:
Expand Down Expand Up @@ -3878,7 +3878,7 @@
'CTRL+L': function() {
self.clear();
},
'TAB': function() {
'TAB': function(e, orignal) {
// TODO: move this to cmd plugin
// add completion = array | function
// !!! Problem complete more then one key need terminal
Expand Down Expand Up @@ -3918,7 +3918,7 @@
throw new Error(strings.invalidCompletion);
}
} else {
self.insert('\t'); // original tab is overwritten
orignal();
}
return false;
},
Expand Down
6 changes: 3 additions & 3 deletions js/jquery.terminal.min.js

Large diffs are not rendered by default.

0 comments on commit 50b3724

Please sign in to comment.