ComfyUI icon indicating copy to clipboard operation
ComfyUI copied to clipboard

Adds Keybindings for clearing queues and prompts.

Open Immac opened this issue 1 year ago • 2 comments

Instead of "clicking" the buttons I directly perform the actions needed,

Key Action Observation
Ctrl + Enter Pushes a new task to the back of the queue Unchanged
Ctrl + Shift + Enter Pushes a new task to the front of the queue Unchanged
Ctrl + Alt + Enter Stops the current task. New
Ctrl + Shift + Alt + Enter Clears the queue, then stops the current task. New

Inspired by the work done by https://github.com/tomhallmain/ComfyUI-tomhallmain https://github.com/comfyanonymous/ComfyUI/pull/2230

Immac avatar Dec 26 '23 19:12 Immac

Thanks @Immac I completely missed this before attempting the same thing in my PR today, even down to same key combo. This seems to be a cleaner solution if it works.

tomhallmain avatar Dec 29 '23 21:12 tomhallmain

Thanks @Immac I completely missed this before attempting the same thing in my PR today, even down to same key combo. This seems to be a cleaner solution if it works.

I guessed that might have been the case, I mentioned the PR because of that, should have added the @tomhallmain as well 😅 , thought the link would work like with PRs.

Immac avatar Dec 30 '23 06:12 Immac

Bump. I think this feature would be very useful.

bobcate avatar Jun 02 '24 19:06 bobcate