Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Right clicking to paste things (Based on CMD) #55

Open
wants to merge 17 commits into
base: master
Choose a base branch
from

Conversation

SolaceEllery
Copy link

@SolaceEllery SolaceEllery commented Jul 31, 2023

Up for review today is a feature I randomly thought of less than a hour ago (I based it off how you paste things into the Command Prompt on Windows). So I decided to code it in and make a pull request before I implement this into the SEE Mod sometime!

You'll need to add the following to ffi_misc.lua after building: https://pastebin.com/agyEK7u0

Misc.enableRightClickPaste(boolean): When this is true, double clicking the right mouse when on the game window will paste the contents of the text, similar to using CTRL + V. The default option is false. This is useful for being an alternative way to paste content onto repl, or any other command-line-like tools coded for SMBX2.
Misc.isRightClickPastingEnabled(): True if so, else it's false.

This may be a useless feature I coded in (imo), so if it doesn't get in it's fine.

@SolaceEllery SolaceEllery changed the title Double right clicking to paste things (Based on CMD) Right clicking to paste things (Based on CMD) Jan 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant