mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-04-22 15:25:47 -07:00
Remove bad getOption param
This commit is contained in:
+1
-1
@@ -396,7 +396,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 + '"');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user