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

Command Key (MetaKey) on MacOS as default #2927

Merged
merged 3 commits into from
Oct 7, 2023

Conversation

lifeeric
Copy link
Contributor

@lifeeric lifeeric commented Sep 28, 2023

I came across this project and I found it really amazing. but when I visited it and wrote a simple prompt and hit "CMD + ENTER" on MacOS, it didn't work. however with "CTR + ENTER" it worked. On MacOS it's really easy to press the "command" key instead of CTR.

I created a PR that fixes this issue, now the default key submitKey should be MetaKey on MacOS.

Hope it helps the project & community!

DEMO: https://nextgpteric.vercel.app/

@lifeeric lifeeric changed the title Macos Command Key (MetaKey) on MacOS as default Sep 28, 2023
app/utils.ts Outdated Show resolved Hide resolved
@H0llyW00dzZ
Copy link
Contributor

nice
Added to my forks

image

@lifeeric
Copy link
Contributor Author

@H0llyW00dzZ Thank you so much & You're the best!

I also learned from you: signing commit with GPG.

@Yidadaa Yidadaa merged commit 5a2cc6f into ChatGPTNextWeb:main Oct 7, 2023
spongeBor pushed a commit to spongeBor/ChatGPT-Next-Web that referenced this pull request Jan 18, 2024
gaogao1030 pushed a commit to gaogao1030/ChatGPT-Next-Web that referenced this pull request May 16, 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.

3 participants