@@ -25,7 +25,7 @@ import { firstToUpperCase, firstToLowerCase } from '../common/utils';
25
25
import { Port } from './cli-protocol/cc/arduino/cli/commands/v1/port_pb' ;
26
26
import { nls } from '@theia/core' ;
27
27
import { MonitorManager } from './monitor-manager' ;
28
- import { OutputPanelBufferProvider } from './output-panel- buffer-provider ' ;
28
+ import { SimpleBuffer } from './utils/simple- buffer' ;
29
29
30
30
@injectable ( )
31
31
export class CoreServiceImpl extends CoreClientAware implements CoreService {
@@ -77,7 +77,7 @@ export class CoreServiceImpl extends CoreClientAware implements CoreService {
77
77
78
78
const result = client . compile ( compileReq ) ;
79
79
80
- const compileBuffer = new OutputPanelBufferProvider (
80
+ const compileBuffer = new SimpleBuffer (
81
81
this . flushOutputPanelMessages . bind ( this ) ,
82
82
this . FLUSH_OUTPUT_MESSAGES_TIMEOUT_MS
83
83
) ;
@@ -184,7 +184,7 @@ export class CoreServiceImpl extends CoreClientAware implements CoreService {
184
184
185
185
const result = responseHandler ( client , req ) ;
186
186
187
- const uploadBuffer = new OutputPanelBufferProvider (
187
+ const uploadBuffer = new SimpleBuffer (
188
188
this . flushOutputPanelMessages . bind ( this ) ,
189
189
this . FLUSH_OUTPUT_MESSAGES_TIMEOUT_MS
190
190
) ;
@@ -255,7 +255,7 @@ export class CoreServiceImpl extends CoreClientAware implements CoreService {
255
255
burnReq . setVerbose ( options . verbose ) ;
256
256
const result = client . burnBootloader ( burnReq ) ;
257
257
258
- const bootloaderBuffer = new OutputPanelBufferProvider (
258
+ const bootloaderBuffer = new SimpleBuffer (
259
259
this . flushOutputPanelMessages . bind ( this ) ,
260
260
this . FLUSH_OUTPUT_MESSAGES_TIMEOUT_MS
261
261
) ;
0 commit comments