@staff0rd/assist 0.785.0 → 0.786.0
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/commands/sessions/web/bundle.js +388 -388
- package/dist/index.js +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import { Command } from "commander";
|
|
|
6
6
|
// package.json
|
|
7
7
|
var package_default = {
|
|
8
8
|
name: "@staff0rd/assist",
|
|
9
|
-
version: "0.
|
|
9
|
+
version: "0.786.0",
|
|
10
10
|
type: "module",
|
|
11
11
|
main: "dist/index.js",
|
|
12
12
|
bin: {
|
|
@@ -42074,9 +42074,9 @@ function nudgePty(session, resize) {
|
|
|
42074
42074
|
// src/commands/sessions/daemon/resizeSession.ts
|
|
42075
42075
|
function resizeSession(sessions, id, cols, rows, viewer = {}) {
|
|
42076
42076
|
const s = sessions.get(id);
|
|
42077
|
-
if (!s || s
|
|
42078
|
-
if (isInactiveViewer(s, viewer)) return;
|
|
42077
|
+
if (!s || isInactiveViewer(s, viewer)) return;
|
|
42079
42078
|
claimViewer(s, viewer, "resize");
|
|
42079
|
+
if (s.status === "done" || !s.pty) return;
|
|
42080
42080
|
const unchanged = s.cols === cols && s.rows === rows;
|
|
42081
42081
|
if (!unchanged || viewer.claim)
|
|
42082
42082
|
daemonLog(
|