chore: update libcosmic and handle input paste
This commit is contained in:
parent
69c5dff3bb
commit
50d4f7b58b
2 changed files with 31 additions and 72 deletions
12
src/main.rs
12
src/main.rs
|
|
@ -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(),
|
||||
])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue