Files
pi-ask/src/ui/constants.ts
T

29 lines
897 B
TypeScript

export const UI_DIMENSIONS = {
boxMinWidth: 10,
callLabelTruncateWidth: 50,
editorContentPadding: 5,
editorIndentedPadding: 7,
editorMinWidth: 8,
previewWideMinWidth: 90,
previewMinRightWidth: 24,
previewLeftMinWidth: 22,
previewLeftMaxWidth: 34,
previewLeftRatio: 0.34,
} as const;
export const UI_TEXT = {
questionNoteTitle: "Note",
reviewTitle: "Review answers",
readyToSubmit: "Submit answers?",
unanswered: "→ unanswered",
footerInput: " Enter submit · Esc close",
footerNote: " Enter save · Esc close",
footerSubmit: " ↑↓ select · Enter confirm · Esc cancel",
footerMulti:
" ⇆ tab · ↑↓ select · Space toggle · Enter continue · N/Shift+N note · Esc dismiss",
footerDefault:
" ⇆ tab · ↑↓ select · Enter confirm · N/Shift+N note · Esc dismiss",
editorPlaceholderInput: "Type answer...",
editorPlaceholderNote: "Add note...",
} as const;