mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
clean up
This commit is contained in:
@@ -37,6 +37,7 @@ export class Terminal implements ITerminalApi {
|
||||
set: (target, propName: string, value): any => {
|
||||
this._checkReadonlyOptions(propName);
|
||||
target[propName] = value;
|
||||
return true;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@@ -131,7 +131,7 @@ export class OptionsService implements IOptionsService {
|
||||
break;
|
||||
case 'cursorWidth':
|
||||
value = Math.floor(value);
|
||||
// Fall through for bounds check
|
||||
// Fall through for bounds check
|
||||
case 'lineHeight':
|
||||
case 'tabStopWidth':
|
||||
if (value < 1) {
|
||||
|
||||
Reference in New Issue
Block a user