From 04ebd1e5331d29b2413c174ae0fe9d73566b3b8d Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Sun, 14 Mar 2021 22:57:56 +0900 Subject: Resize console dynamically --- src/content/usecases/ConsoleFrameUseCase.ts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/content/usecases') diff --git a/src/content/usecases/ConsoleFrameUseCase.ts b/src/content/usecases/ConsoleFrameUseCase.ts index b118c7f..7a0891d 100644 --- a/src/content/usecases/ConsoleFrameUseCase.ts +++ b/src/content/usecases/ConsoleFrameUseCase.ts @@ -12,4 +12,8 @@ export default class ConsoleFrameUseCase { window.focus(); this.consoleFramePresenter.blur(); } + + resize(width: number, height: number) { + this.consoleFramePresenter.resize(width, height); + } } -- cgit v1.2.3