mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
Finish OSC hyperlinks when the second param is only whitespace
Fixes #4916
This commit is contained in:
@@ -2979,7 +2979,7 @@ export class InputHandler extends Disposable implements IInputHandler {
|
||||
if (args[1]) {
|
||||
return this._createHyperlink(args[0], args[1]);
|
||||
}
|
||||
if (args[0]) {
|
||||
if (args[0].trim()) {
|
||||
return false;
|
||||
}
|
||||
return this._finishHyperlink();
|
||||
|
||||
Reference in New Issue
Block a user