File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -1466,10 +1466,10 @@ index 0000000000000000000000000000000000000000..6ce56bec114a6d8daf5dd3ded945ea78
14661466+ }
14671467diff --git a/src/vs/server/node/channel.ts b/src/vs/server/node/channel.ts
14681468new file mode 100644
1469- index 0000000000000000000000000000000000000000..769d57953e782b7a72519599274630236114b17d
1469+ index 0000000000000000000000000000000000000000..693174ee0d21353c3a08a42fd30eaad1e95c3b9d
14701470--- /dev/null
14711471+++ b/src/vs/server/node/channel.ts
1472- @@ -0,0 +1,889 @@
1472+ @@ -0,0 +1,897 @@
14731473+ import { field, logger } from '@coder/logger';
14741474+ import { Server } from '@coder/node-browser';
14751475+ import * as os from 'os';
@@ -1976,6 +1976,11 @@ index 0000000000000000000000000000000000000000..769d57953e782b7a7251959927463023
19761976+ data,
19771977+ });
19781978+
1979+ + // No need to store data if we aren't persisting.
1980+ + if (!this.persist) {
1981+ + return;
1982+ + }
1983+ +
19791984+ this.replayData.push(data);
19801985+ this.totalReplayData += data.length;
19811986+
@@ -2025,7 +2030,10 @@ index 0000000000000000000000000000000000000000..769d57953e782b7a7251959927463023
20252030+ this.cols = args.cols;
20262031+ this.rows = args.rows;
20272032+
2028- + this.persist = args.shouldPersistTerminal;
2033+ + // TODO: Don't persist terminals until we make it work with things like
2034+ + // htop, vim, etc.
2035+ + // this.persist = args.shouldPersistTerminal;
2036+ + this.persist = false;
20292037+
20302038+ this.process = new TerminalProcess(
20312039+ config,
You can’t perform that action at this time.
0 commit comments