Skip to content

Commit

Permalink
Merge pull request #793 from Tyriar/bad_getOption_param
Browse files Browse the repository at this point in the history
Remove bad getOption param
  • Loading branch information
Tyriar committed Jul 13, 2017
2 parents 87b76aa + 9e95024 commit 7cfc2ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xterm.js
Expand Up @@ -397,7 +397,7 @@ Terminal.prototype.focus = function() {
* Retrieves an option's value from the terminal.
* @param {string} key The option key.
*/
Terminal.prototype.getOption = function(key, value) {
Terminal.prototype.getOption = function(key) {
if (!(key in Terminal.defaults)) {
throw new Error('No option with key "' + key + '"');
}
Expand Down

0 comments on commit 7cfc2ff

Please sign in to comment.