Skip to content

Commit 58a47fb

Browse files
authored
Merge pull request #156 from Dogtiti/fix/keyboard
fix: ctrl+enter to deploy agent
2 parents 954b6fb + 236400c commit 58a47fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ const Home: NextPage = () => {
154154
| React.KeyboardEvent<HTMLTextAreaElement>
155155
) => {
156156
// Only Enter is pressed, execute the function
157-
if (e.key === "Enter" && !disableDeployAgent && !e.shiftKey) {
157+
if (e.ctrlKey && e.key === "Enter" && !disableDeployAgent) {
158158
if (isAgentPaused) {
159159
handleContinue();
160160
}

0 commit comments

Comments
 (0)