Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
registers: Use saved values for clipboard providers which can't read
This fixes reading from the clipboard when using the termcode provider. Reading isn't implemented for the termcode provider so `get_contents` returns `ClipboardError::ReadingNotSupported`. `read_from_clipboard` needs to recognize this case and use the saved values instead of emitting an error log and returning nothing. Follow-up of #10839 Also see #12142
- Loading branch information