agileflow 4.0.0-alpha.26 → 4.0.0-alpha.28
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/package.json +1 -1
- package/src/runtime/launch/tabs.js +11 -8
package/package.json
CHANGED
|
@@ -273,15 +273,18 @@ const TAB_KEYBINDS = [
|
|
|
273
273
|
hint: "Alt+, → rename current tab",
|
|
274
274
|
},
|
|
275
275
|
{
|
|
276
|
-
//
|
|
277
|
-
//
|
|
278
|
-
//
|
|
279
|
-
//
|
|
280
|
-
//
|
|
281
|
-
//
|
|
282
|
-
// the
|
|
276
|
+
// Routes through the agileflow callback which probes the window's
|
|
277
|
+
// name + cwd, pushes a closed-window record (for Alt+Shift+T undo),
|
|
278
|
+
// then kill-windows. The callback adds ~150ms Node-startup
|
|
279
|
+
// latency vs direct kill-window, but in exchange the user gets
|
|
280
|
+
// a working undo (Chrome's Ctrl+Shift+T pattern). We pass session
|
|
281
|
+
// and window index positionally so a focus shift between Alt+w
|
|
282
|
+
// and the subprocess running doesn't close the wrong tab.
|
|
283
283
|
key: "M-w",
|
|
284
|
-
action: [
|
|
284
|
+
action: [
|
|
285
|
+
"run-shell",
|
|
286
|
+
"%AGILEFLOW% launch __close-window #{session_name} #{window_index}",
|
|
287
|
+
],
|
|
285
288
|
hint: "Alt+w → close current tab (Alt+Shift+T to undo)",
|
|
286
289
|
},
|
|
287
290
|
{
|