Terminal pasting
This commit is contained in:
@@ -2,7 +2,7 @@ import { Event } from "@coder/events";
|
||||
import { field, logger, time, Time } from "@coder/logger";
|
||||
import { InitData, ISharedProcessData } from "@coder/protocol";
|
||||
import { retry } from "./retry";
|
||||
import { Upload } from "./upload";
|
||||
import { upload } from "./upload";
|
||||
import { client } from "./fill/client";
|
||||
import { clipboard } from "./fill/clipboard";
|
||||
import { INotificationService, NotificationService, IProgressService, ProgressService } from "./fill/notification";
|
||||
@@ -21,7 +21,8 @@ export abstract class Client {
|
||||
public readonly retry = retry;
|
||||
public readonly clipboard = clipboard;
|
||||
public readonly uriFactory: IURIFactory;
|
||||
public readonly upload = new Upload(new NotificationService(), new ProgressService());
|
||||
public readonly upload = upload;
|
||||
|
||||
private start: Time | undefined;
|
||||
private readonly progressElement: HTMLElement | undefined;
|
||||
private tasks: string[] = [];
|
||||
|
||||
Reference in New Issue
Block a user