dsh-prompt-rewriter 1.6.0 → 1.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client.js +5 -6
- package/package.json +1 -1
package/client.js
CHANGED
|
@@ -1925,9 +1925,9 @@ window.__ModuleLoader__.load({
|
|
|
1925
1925
|
modals: [],
|
|
1926
1926
|
});
|
|
1927
1927
|
return dispose;
|
|
1928
|
-
} catch
|
|
1929
|
-
//
|
|
1930
|
-
//
|
|
1928
|
+
} catch {
|
|
1929
|
+
// A throw here is swallowed by the effect wrapper; the keydown fallback
|
|
1930
|
+
// below still serves the shortcut, so it must not fail activation.
|
|
1931
1931
|
return undefined;
|
|
1932
1932
|
}
|
|
1933
1933
|
}, 'dsh-prompt-rewriter: shortcut');
|
|
@@ -1994,10 +1994,9 @@ window.__ModuleLoader__.load({
|
|
|
1994
1994
|
};
|
|
1995
1995
|
|
|
1996
1996
|
/**
|
|
1997
|
-
*
|
|
1997
|
+
* Does this keyboard event match a binding this plugin owns?
|
|
1998
1998
|
*
|
|
1999
|
-
* Kept separate from `onKey` so the
|
|
2000
|
-
* chain without ever triggering an enhancement.
|
|
1999
|
+
* Kept separate from `onKey` so the pure judgement is testable on its own.
|
|
2001
2000
|
*/
|
|
2002
2001
|
const evaluate = (event) => {
|
|
2003
2002
|
const base = {
|
package/package.json
CHANGED