mirror of
https://github.com/NotAShelf/stash.git
synced 2026-05-18 21:17:35 +00:00
commands: fix MIME fallback in TUI; improve watch logging
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I67d0486ca9719b334957ff3868da3f0c6a6a6964
This commit is contained in:
parent
cf207d0a3d
commit
9217b32798
2 changed files with 12 additions and 4 deletions
|
|
@ -698,7 +698,7 @@ impl SqliteClipboardDb {
|
|||
let mime_type = match mime {
|
||||
Some(ref m) if m == "text/plain" => MimeType::Text,
|
||||
Some(ref m) => MimeType::Specific(m.clone().clone()),
|
||||
None => MimeType::Text,
|
||||
None => MimeType::Autodetect,
|
||||
};
|
||||
let copy_result = opts
|
||||
.copy(Source::Bytes(contents.clone().into()), mime_type);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue