Opened 6 years ago
Last modified 6 years ago
#133 assigned enhancement
Add support for clipboard paste (or even copy) in Oni Dev console — at Version 1
Reported by: | s10k | Owned by: | Christian |
---|---|---|---|
Priority: | minor | Component: | Daodan/Win |
Keywords: | Cc: |
Description (last modified by )
As funktotheface mentioned on the discord server it would be very nice to have clipboard paste ability on the Oni Dev console.
It will make testing commands much easier without having to type them manually.
Accordingly to gumby it shouldn't be that hard to implement.
From what I understood it should work like this on Windows:
You register the Oni Window in the Windows clipboard:
https://docs.microsoft.com/en-us/windows/desktop/dataxchg/using-the-clipboard
(clipboard viewer window method should be preferred for Windows 2000 backwards comparability).
Once oni window is registered on clipboard viewer, we can receive a notification everytime a user does ctrl + v on oni Window.
If the developer mode console is active, we should read the memory on clipboard and if it is valid ASCII text, we should copy it to the address where Oni Dev mode current command is.
If possible it would also be nice to have the copy ability, so if the user trigger ctrl + c when oni dev mode is active (with a command highlight), the current command would be copied for the windows clipboard.
Change History (1)
comment:1 by , 6 years ago
Description: | modified (diff) |
---|---|
Summary: | Add support for clipboard past (or even copy) in Oni Dev console → Add support for clipboard paste (or even copy) in Oni Dev console |