mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
Merge pull request #4088 from Tyriar/hyperlink_ternary_fix
Fix ternary in activate call
This commit is contained in:
@@ -70,7 +70,7 @@ export class OscLinkProvider implements ILinkProvider {
|
||||
result.push({
|
||||
text,
|
||||
range,
|
||||
activate: (e, text) => (linkHandler?.activate(e, text, range) || defaultActivate(e, text)),
|
||||
activate: (e, text) => (linkHandler ? linkHandler.activate(e, text, range) : defaultActivate(e, text)),
|
||||
hover: (e, text) => linkHandler?.hover?.(e, text, range),
|
||||
leave: (e, text) => linkHandler?.leave?.(e, text, range)
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user