Skip to content

Commit

Permalink
Merge pull request #817 from weaveworks/748-fix-term-arrow-keys
Browse files Browse the repository at this point in the history
Fixes ctrl-arrow keys in terminal
  • Loading branch information
foot committed Jan 14, 2016
2 parents 43b430f + 18d31a0 commit d3ffd85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/app/scripts/vendor/term.js
Original file line number Diff line number Diff line change
Expand Up @@ -2623,7 +2623,7 @@ Terminal.prototype.keyDown = function(ev) {
break;
}
if (ev.ctrlKey) {
key = '\x1b[5D';
key = '\x1b[1;5D';
break;
}
key = '\x1b[D';
Expand All @@ -2635,7 +2635,7 @@ Terminal.prototype.keyDown = function(ev) {
break;
}
if (ev.ctrlKey) {
key = '\x1b[5C';
key = '\x1b[1;5C';
break;
}
key = '\x1b[C';
Expand Down

0 comments on commit d3ffd85

Please sign in to comment.