Skip to content

Commit

Permalink
Fix keep tab name
Browse files Browse the repository at this point in the history
  • Loading branch information
LamiumAmplexicaule committed Sep 23, 2022
1 parent cb5a984 commit 6bf1a58
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
### Changed
- Changed the name of the tab that ComP opens so that it remains ComP

## [0.2.0]
### Added
Expand Down
3 changes: 3 additions & 0 deletions src/main/kotlin/net/henbit/comp/Utils.kt
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ class Utils {
null -> terminalView.createLocalShellWidget(project.basePath, tabName)
else -> TerminalView.getWidgetByContent(content) as ShellTerminalWidget
}
widget.terminalTitle.change {
this.userDefinedTitle = tabName
}
return widget
}
}
Expand Down

0 comments on commit 6bf1a58

Please sign in to comment.