question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add a mechanism for getting/setting the clipboard text

See original GitHub issue

Summary of feature

Currently, there is no clean way to get/set the clipboard text from the input API - you end up having to use GLFW and SDL directly which isn’t ideal or user friendly.

This issue is to add a gettable and settable property onto IKeyboard (probably called ClipboardText).

Comments

The work is:

  • Add a get/set property onto IKeyboard (probably called ClipboardText)
  • Implement this in GlfwKeyboard using the appropriate GLFW functions exposed in the Glfw class
  • Implement this in SdlKeyboard using the appropriate SDL functions exposed in the Sdl class.

If your IDE is running slow, you can make a stripped down solution containing only input projects using nuke sln --projects input

Please see CONTRIBUTING.md for more info on contributing.

Area owner is @ThomasMiz

Does this have a proposal?

This is exempt from a proposal as described in the proposals readme.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
Perkseycommented, Dec 27, 2021

If you would like to take this issue please leave a comment!

0reactions
ThomasMizcommented, Dec 27, 2021

Fixed by #733

Read more comments on GitHub >

github_iconTop Results From Across the Web

Storing data to and reading from the Clipboard - Visual Basic
Use the SetText method to write text to the Clipboard. The following code writes the string "This is a test string" to the...
Read more >
Using Clipboard to Copy Text
Learn how to copy Clipboard text and files between a local computer and the remote host within a secure Imprivata PAM XTAM session....
Read more >
Interact with the clipboard - MDN Web Docs - Mozilla
The "cut" and "copy" commands of the document.execCommand() method are used to replace the clipboard's content with the selected material.
Read more >
Clipboard operations in python.
It is very easy to perform copy/paste operations of Clipboard using ctrl+c and ctrl+v , you may think that performing clipboard operations ...
Read more >
4.3.3 FSClipboard
To append text to the Clipboard, select it using normal text selection commands, and then press INSERT+WINDOWS Key+C. The text is appended to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found