+ {/* Mode toggle */}
+
+ {MODE_OPTIONS.map((opt) => (
+
+ ))}
+
+
+
+
+ {/* Continue [C] */}
+
+
+ {/* Question [Q] */}
+ {questionOpen ? (
+
+ setQuestionText(e.target.value)}
+ placeholder="Ask a question..."
+ className="h-8 w-48 text-xs"
+ onKeyDown={(e) => {
+ if (e.key === "Enter") handleQuestion();
+ if (e.key === "Escape") setQuestionOpen(false);
+ }}
+ autoFocus
+ />
+
+
+ ) : (
+
+ )}
+
+ {/* Summary [D] */}
+
+
+ {/* Spacer */}
+
+
+ {/* Exit [E] */}
+
+