Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Well, in fact a good principle is to limit side effects as much as possible. Copy or cut inside the same document should probably not involve the system clipboard at all. The system clipboard could be triggered/populated when the app goes out of focus for example.


Maybe internal registers are the primary way, though that prevents some niche cases like clipboard watchers (copied #hex color to clipboard, have an option to insert any other format).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: