chore: update libcosmic and handle input paste

This commit is contained in:
Ashley Wulber 2025-08-12 12:54:26 -04:00 committed by Ashley Wulber
parent 69c5dff3bb
commit 50d4f7b58b
2 changed files with 31 additions and 72 deletions

View file

@ -941,6 +941,9 @@ impl App {
.on_input(move |text| {
Message::ProfileName(profile_id, text)
})
.on_paste(move |text| {
Message::ProfileName(profile_id, text)
})
.into(),
])
.spacing(space_xxxs)
@ -951,6 +954,9 @@ impl App {
.on_input(move |text| {
Message::ProfileCommand(profile_id, text)
})
.on_paste(move |text| {
Message::ProfileCommand(profile_id, text)
})
.into(),
])
.spacing(space_xxxs)
@ -961,6 +967,9 @@ impl App {
.on_input(move |text| {
Message::ProfileDirectory(profile_id, text)
})
.on_paste(move |text| {
Message::ProfileDirectory(profile_id, text)
})
.into(),
])
.spacing(space_xxxs)
@ -971,6 +980,9 @@ impl App {
.on_input(move |text| {
Message::ProfileTabTitle(profile_id, text)
})
.on_paste(move |text| {
Message::ProfileTabTitle(profile_id, text)
})
.into(),
widget::text::caption(fl!("tab-title-description")).into(),
])