codify-plugin-lib 1.0.182-beta55 → 1.0.182-beta56

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.
@@ -20,6 +20,7 @@ export class BackgroundPty {
20
20
  historyIgnore = Utils.getShell() === Shell.ZSH ? { HISTORY_IGNORE: '*' } : { HISTIGNORE: '*' };
21
21
  basePty = pty.spawn(this.getDefaultShell(), ['-i'], {
22
22
  env: { ...process.env, ...this.historyIgnore },
23
+ cols: 10_000, // Set to a really large value to prevent wrapping
23
24
  name: nanoid(6),
24
25
  handleFlowControl: true
25
26
  });
@@ -49,7 +49,7 @@ export class SequentialPty {
49
49
  ...historyIgnore
50
50
  };
51
51
  // Initial terminal dimensions
52
- const initialCols = process.stdout.columns ?? 80;
52
+ const initialCols = 10_000; // Set to a really large value to prevent wrapping
53
53
  const initialRows = process.stdout.rows ?? 24;
54
54
  const args = options?.interactive ? ['-i', '-c', cmd] : ['-c', cmd];
55
55
  // Run the command in a pty for interactivity
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codify-plugin-lib",
3
- "version": "1.0.182-beta55",
3
+ "version": "1.0.182-beta56",
4
4
  "description": "Library plugin library",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
package/rollup.config.js CHANGED
@@ -7,7 +7,7 @@ import typescript from '@rollup/plugin-typescript';
7
7
  export default {
8
8
  input: 'src/index.ts',
9
9
  output: {
10
- dir:'dist',
10
+ dir: 'dist',
11
11
  format: 'cjs',
12
12
  inlineDynamicImports: true,
13
13
  },
@@ -15,7 +15,7 @@ export default {
15
15
  plugins: [
16
16
  json(),
17
17
  nodeResolve({ exportConditions: ['node'] }),
18
- typescript({
18
+ typescript({
19
19
  exclude: ['**/*.test.ts', '**/*.d.ts', 'test']
20
20
  }),
21
21
  commonjs(),
@@ -23,6 +23,7 @@ export class BackgroundPty implements IPty {
23
23
  private historyIgnore = Utils.getShell() === Shell.ZSH ? { HISTORY_IGNORE: '*' } : { HISTIGNORE: '*' };
24
24
  private basePty = pty.spawn(this.getDefaultShell(), ['-i'], {
25
25
  env: { ...process.env, ...this.historyIgnore },
26
+ cols: 10_000, // Set to a really large value to prevent wrapping
26
27
  name: nanoid(6),
27
28
  handleFlowControl: true
28
29
  });
@@ -62,7 +62,7 @@ export class SequentialPty implements IPty {
62
62
  }
63
63
 
64
64
  // Initial terminal dimensions
65
- const initialCols = process.stdout.columns ?? 80;
65
+ const initialCols = 10_000; // Set to a really large value to prevent wrapping
66
66
  const initialRows = process.stdout.rows ?? 24;
67
67
 
68
68
  const args = options?.interactive ? ['-i', '-c', cmd] : ['-c', cmd]