mirror of
https://codeberg.org/icewind/logsmash.git
synced 2026-06-04 02:24:11 +02:00
clippy fixes
This commit is contained in:
parent
fe96537a74
commit
04308e966b
4 changed files with 20 additions and 6 deletions
|
|
@ -180,12 +180,12 @@ impl<'a> UiState<'a> {
|
|||
|
||||
let line = &app.lines[state.lines[selected]];
|
||||
let raw = app.get_line(line.index).unwrap_or_default();
|
||||
copy_osc(&raw);
|
||||
copy_osc(raw);
|
||||
UiState::Logs(state)
|
||||
}
|
||||
(UiState::Log(state), UiEvent::Copy) => {
|
||||
let raw = app.get_line(state.log.index).unwrap_or_default();
|
||||
copy_osc(&raw);
|
||||
copy_osc(raw);
|
||||
UiState::Log(state)
|
||||
}
|
||||
(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue