commands: fix MIME fallback in TUI; improve watch logging

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I67d0486ca9719b334957ff3868da3f0c6a6a6964
This commit is contained in:
raf 2026-05-03 17:19:32 +03:00
commit 9217b32798
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF
2 changed files with 12 additions and 4 deletions

View file

@ -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);