Skip to content
This repository was archived by the owner on Dec 8, 2021. It is now read-only.

Commit c66ae76

Browse files
marhijkuri
authored andcommitted
fix(): title and window move fix
1 parent 2a0c34c commit c66ae76

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app/components/window-top/window-top.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ export class WindowTopComponent implements OnInit {
7171

7272
switchTab(e: MouseEvent, index: number): void {
7373
e.preventDefault();
74-
e.stopPropagation();
7574

7675
if (this.xterm.currentIndex === index) {
7776
return;
@@ -84,7 +83,8 @@ export class WindowTopComponent implements OnInit {
8483
}
8584

8685
parseTitle(title: string): string {
87-
return title.trim();
86+
let parsedTitle: string = title.trim();
87+
return parsedTitle.length ? 'Shell' : parsedTitle;
8888
}
8989

9090
close(): void {

0 commit comments

Comments
 (0)