feat: use the keyboard to select the slash command

This commit is contained in:
lencx
2022-12-27 14:41:50 +08:00
parent 06ee907199
commit 39febe759e
6 changed files with 124 additions and 34 deletions

View File

@@ -91,8 +91,6 @@ async function init() {
const res = await fetch('https://raw.githubusercontent.com/f/awesome-chatgpt-prompts/main/prompts.csv');
if (res.ok) {
const data = await res.text();
console.log('«94» /src/assets/core.js ~> ', data);
await invoke('sync_prompts', { data, time: Date.now() });
} else {
invoke('messageDialog', {