Merge pull request #793 from Tyriar/bad_getOption_param

Remove bad getOption param
This commit is contained in:
Daniel Imms
2017-07-13 12:45:18 -07:00
committed by GitHub
+1 -1
View File
@@ -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 + '"');
}