···316316317317 (**`Prompt`:Allows running one command and then running another using the input of the first*)
318318 let confirm_prompt prompt cmd =
319319- SubCmd [ { key = { key = 'y'; modifiers = [] }; description = "Yes I want to " ^ prompt; cmd } ]
319319+ SubCmd [ {key=(Lwd.peek Vars.ui_state.config).key_map.confirm; description = "Yes I want to " ^ prompt; cmd } ]
320320 ;;
321321322322 (** Handles raw command mapping without regard for modes or the current intput state. Should be used when setting a new input mode*)