Files
Netcatty/infrastructure/config/terminalFlowConstants.cjs
T
bincxz 579daf8852 fix(terminal): load flow constants via JSON in renderer
createRequire() in terminalFlowConstants.ts breaks Vite/browser bundling
and caused "Terminal could not load". Share thresholds through
terminalFlowConstants.json consumed by both renderer and main process.
2026-06-27 02:45:18 +08:00

7 lines
221 B
JavaScript

"use strict";
/**
* Terminal flow-control thresholds (single source: terminalFlowConstants.json).
* Aligned with VS Code FlowControlConstants (terminal.ts).
*/
module.exports = require("./terminalFlowConstants.json");