import { ref } from "vue";

const showShortcuts = ref(false);

export function useShortcuts() {
  return {
    showShortcuts,
    openShortcuts: () => { showShortcuts.value = true; },
    closeShortcuts: () => { showShortcuts.value = false; },
    toggleShortcuts: () => { showShortcuts.value = !showShortcuts.value; },
  };
}
