Devolutions / IronRDP

Rust implementation of the Microsoft Remote Desktop Protocol (RDP)
Apache License 2.0
390 stars 50 forks source link

MacOS clipboard support in `ironrdp-cliprdr-native`/`ironrdp-client` #359

Open pacmancoder opened 9 months ago

pacmancoder commented 9 months ago

Add support for the native clipboard for MacOS clients in ironrdp-cliprdr-native/ironrdp-client. See existing Windows and ironrdp-web implementation for reference.

I am not too familiar with MacOS development, but maybe @thenextman could add some additional details here about possible pitfalls that could be encountered with MacOS clipboard implementation.

thenextman commented 9 months ago

@pacmancoder A few things come to mind:

The last time we used Cocoa APIs from rust, the available options were not very ergonomic. Hopefully things have moved forward (this was a few years ago).

If I think of something else I'll add it, but don't be afraid to poke me with specific questions!

pacmancoder commented 9 months ago

Thank you for your input @thenextman !