File tree 1 file changed +11
-3
lines changed
1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -1466,10 +1466,10 @@ index 0000000000000000000000000000000000000000..6ce56bec114a6d8daf5dd3ded945ea78
1466
1466
+ }
1467
1467
diff --git a/src/vs/server/node/channel.ts b/src/vs/server/node/channel.ts
1468
1468
new file mode 100644
1469
- index 0000000000000000000000000000000000000000..769d57953e782b7a72519599274630236114b17d
1469
+ index 0000000000000000000000000000000000000000..693174ee0d21353c3a08a42fd30eaad1e95c3b9d
1470
1470
--- /dev/null
1471
1471
+++ b/src/vs/server/node/channel.ts
1472
- @@ -0,0 +1,889 @@
1472
+ @@ -0,0 +1,897 @@
1473
1473
+ import { field, logger } from '@coder/logger';
1474
1474
+ import { Server } from '@coder/node-browser';
1475
1475
+ import * as os from 'os';
@@ -1976,6 +1976,11 @@ index 0000000000000000000000000000000000000000..769d57953e782b7a7251959927463023
1976
1976
+ data,
1977
1977
+ });
1978
1978
+
1979
+ + // No need to store data if we aren't persisting.
1980
+ + if (!this.persist) {
1981
+ + return;
1982
+ + }
1983
+ +
1979
1984
+ this.replayData.push(data);
1980
1985
+ this.totalReplayData += data.length;
1981
1986
+
@@ -2025,7 +2030,10 @@ index 0000000000000000000000000000000000000000..769d57953e782b7a7251959927463023
2025
2030
+ this.cols = args.cols;
2026
2031
+ this.rows = args.rows;
2027
2032
+
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;
2029
2037
+
2030
2038
+ this.process = new TerminalProcess(
2031
2039
+ config,
You can’t perform that action at this time.
0 commit comments