note to explain confusing kiss-vscode code

This commit is contained in:
2021-07-23 15:47:48 -06:00
parent a18a4d8150
commit b3b8162dcf

View File

@@ -118,6 +118,7 @@
vscode.ViewColumn.Two
(object
enableScripts true)))
// The keyListener handler needs to have access to the Disposible object to dispose itself, hence this let/set
(let [&mut keyListener null]
(set keyListener (shortcutPanel.webview.onDidReceiveMessage
->key (if (prefixMap.exists key)