Open rben01 opened 14 hours ago
This works only for the CLI frontend. I need to think about how to enable similar functionality for other frontends, ideally without reimplementing it from scratch — hopefully the only thing to be reimplemented would be the clipboard copying itself. Related to #584
This is preliminary work on the copy-to-clipboard functionality that was mentioned in #394. Currently the
copy
command does not actually copy, but merely prints what would be copied (once I add that). In general I try to fall back to Numbat’s own defaults with user configuration where it makes sense. Here is the default config for this:Please bike-shed away on these configuration options — names, default values, anything extraneous or missing...
With the above config (generated by
numbat --generate-config
), you'd get this kind of output:Once I do a little more work investigating what's a good clipboard crate these days I can finish this up.