mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 19:28:12 +00:00
FileManager+LibGUI+Userland: Switch clipboard to MIME types
We will now actually use MIME types for clipboard. The default type is now "text/plain" (instead of just "text"). This also fixes some issues in copy(1) and paste(1).
This commit is contained in:
parent
de7827faf7
commit
acc107a44f
4 changed files with 27 additions and 19 deletions
|
@ -36,12 +36,12 @@
|
|||
|
||||
struct Options {
|
||||
String data;
|
||||
StringView type { "text" };
|
||||
StringView type;
|
||||
};
|
||||
|
||||
Options parse_options(int argc, char* argv[])
|
||||
{
|
||||
const char* type = nullptr;
|
||||
const char* type = "text/plain";
|
||||
Vector<const char*> text;
|
||||
|
||||
Core::ArgsParser args_parser;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue