opencode-cut 0.1.0 → 0.1.2
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/dist/tui.js +3 -1
- package/package.json +1 -1
- package/src/tui.ts +3 -1
package/dist/tui.js
CHANGED
|
@@ -13,7 +13,9 @@ const mod = {
|
|
|
13
13
|
render: () => {
|
|
14
14
|
context.keymap.layer(() => ({
|
|
15
15
|
mode: "global",
|
|
16
|
-
|
|
16
|
+
// The renderer's focus getter is not reactive. A target accessor would
|
|
17
|
+
// pin this layer to the editor (or null) present when the app mounts.
|
|
18
|
+
// Resolve the focused editor in enabled/run instead.
|
|
17
19
|
priority: 100,
|
|
18
20
|
commands: [
|
|
19
21
|
{
|
package/package.json
CHANGED
package/src/tui.ts
CHANGED
|
@@ -18,7 +18,9 @@ const mod: Plugin.Definition = {
|
|
|
18
18
|
render: () => {
|
|
19
19
|
context.keymap.layer(() => ({
|
|
20
20
|
mode: "global",
|
|
21
|
-
|
|
21
|
+
// The renderer's focus getter is not reactive. A target accessor would
|
|
22
|
+
// pin this layer to the editor (or null) present when the app mounts.
|
|
23
|
+
// Resolve the focused editor in enabled/run instead.
|
|
22
24
|
priority: 100,
|
|
23
25
|
commands: [
|
|
24
26
|
{
|