Added start path for powershell profile
This commit is contained in:
1 parent
317b773a18
commit
7260e2411f
1 file changed
+2
-3
+2
-3
@@ -8676,7 +8676,7 @@ fn profile_dialog_layer(state: &Moorly, window: window::Id) -> Option<Element<'_
|
||||
/// Right-hand side of the profile dialog for the selected profile type.
|
||||
fn profile_kind_view(draft: &ProfileDraft) -> Element<'_, Message> {
|
||||
match draft.kind {
|
||||
ProfileKind::Terminal => {
|
||||
ProfileKind::Terminal | ProfileKind::PowerShell => {
|
||||
let field = text_input("Start path", &draft.start_path)
|
||||
.on_input(Message::ProfileStartPathChanged)
|
||||
.padding(Padding {
|
||||
@@ -8701,7 +8701,7 @@ fn profile_kind_view(draft: &ProfileDraft) -> Element<'_, Message> {
|
||||
.padding(Padding::ZERO.right(6.0));
|
||||
|
||||
column![
|
||||
text("Terminal").size(18),
|
||||
text(draft.kind.label()).size(18),
|
||||
column![
|
||||
text("Start path").size(12),
|
||||
stack![field, browse].width(Length::Fill),
|
||||
@@ -8711,7 +8711,6 @@ fn profile_kind_view(draft: &ProfileDraft) -> Element<'_, Message> {
|
||||
.spacing(12)
|
||||
.into()
|
||||
}
|
||||
ProfileKind::PowerShell => text("PowerShell").size(18).into(),
|
||||
ProfileKind::Ssh => {
|
||||
let host_port = row![
|
||||
column![
|
||||
|
||||
Reference in new issue
Block a user