mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-11-23 16:42:19 +00:00
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.
7 lines
221 B
JavaScript
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"); |