Skip to content

Commit

Permalink
focus on input after execution for dumb shell
Browse files Browse the repository at this point in the history
  • Loading branch information
mariotaku committed Mar 27, 2024
1 parent 7e40757 commit 6072e28
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/terminal/dumb/dumb.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ export class DumbComponent implements OnInit, AfterViewInit, OnDestroy, ITermina
setTimeout(() => {
const container = this.container.nativeElement;
container.scrollTop = container.scrollHeight;
this.focus();
}, 10);
}

Expand Down

0 comments on commit 6072e28

Please sign in to comment.