fix(DuoChat): Add missing .exact modifier to redo shortcuts
What does this MR do?
This MR fixes an inconsistency in the duo_chat.vue component where the redo keyboard shortcuts were missing the .exact modifier, while the undo shortcuts had it.
Changes
- Added
.exactmodifier toctrl.shift.z,meta.shift.z,ctrl.y, andmeta.ykeyboard shortcuts induo_chat.vue - This ensures consistency with the
agentic_duo_chat.vuecomponent which already has.exacton all undo/redo shortcuts
Why is this needed?
Without the .exact modifier, these shortcuts could potentially trigger when additional modifier keys are pressed, which may not be the intended behavior. The .exact modifier ensures the shortcuts only trigger with the exact key combination specified.
Related
This follows up on the recent commit c770c94c that added VSCode undo/redo functionality to both chat components.