| HEADER | EMPHASIS | HORIZONTAL_LINE | LIST | TABLE
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* @import url(https://fonts.googleapis.com/css?family=Raleway); */ | |
@import url(https://fonts.googleapis.com/css?family=Ubuntu); | |
@import url(https://fonts.googleapis.com/css?family=Ubuntu+Mono); | |
/* Use Ubuntu font instead of the default Railway font */ | |
body { | |
font-family: Ubuntu; | |
margin: 2rem; | |
font-size: 2rem; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* @import url(https://fonts.googleapis.com/css?family=Raleway); */ | |
@import url(https://fonts.googleapis.com/css?family=Ubuntu); | |
@import url(https://fonts.googleapis.com/css?family=Ubuntu+Mono); | |
/* Use Ubuntu font instead of the default Railway font */ | |
body { | |
font-family: Ubuntu; | |
margin: 2rem; | |
font-size: 2rem; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var keypress = require('keypress'); | |
// make `process.stdin` begin emitting "keypress" events | |
keypress(process.stdin); | |
// listen for the "keypress" event | |
process.stdin.on('keypress', function (ch, key) { | |
// console.log('got "keypress"', key); | |
if(key && key.name == 'right'){ |
NewerOlder