Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

Commit

Permalink
Merge pull request chjj#89 from IonicaBizauKitchen/space-bar-keydown
Browse files Browse the repository at this point in the history
Handle space bar key down
  • Loading branch information
chjj committed Jan 8, 2016
2 parents 6fa1945 + 61ce86a commit 10a2307
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/term.js
Original file line number Diff line number Diff line change
Expand Up @@ -2615,6 +2615,10 @@ Terminal.prototype.keyDown = function(ev) {
case 27:
key = '\x1b';
break;
// space
case 32:
key = '\x20';
break;
// left-arrow
case 37:
if (this.applicationCursor) {
Expand Down

0 comments on commit 10a2307

Please sign in to comment.