diff --git a/src/xterm.js b/src/xterm.js index 44b5c797c1..d625a3cfc2 100644 --- a/src/xterm.js +++ b/src/xterm.js @@ -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 + '"'); }