CH-J Toolsserver management over SSH
Menu
Published source

CH-J Tools

Browse directories and files for a specific application release.

Download source ZIP
CH-J / Server Manager 1704 files
0.1.2-beta Added: · Built:
window.ts Added: Date not recorded 443 B · 9 lines
Code Download file
1/** Frameless-window controls (Windows/Linux). Each window can only control itself. */
2import { call } from "../transport";
4export type WindowAction = "minimize" | "toggleMaximize" | "close" | "startDrag";
6export const windowControls = Object.freeze({
7 perform: (action: WindowAction) => call<{ ok: true }>("window_control", "window:control", { action }),
8 isMaximized: () => call<boolean>("window_is_maximized", "window:isMaximized")
9});
SHA-2561a50607bcca8ee1555665c5ee0d822cde43986af11dec5b32720636a83aad3df

CH-J Proprietary Software License 1.14 · Source is provided under the CH-J Proprietary Software License 1.14. Its availability does not change the license terms or grant additional rights.

Archive SHA-256ac8fe790f4ba60fc098f8c985fc2656cfcc6cdc21fb34b30e308a2b54e62258f
Files