isPromptInputModeEditable function

bool isPromptInputModeEditable(
  1. PromptInputMode mode
)

Whether this mode is editable (can be pulled into the input buffer).

Implementation

bool isPromptInputModeEditable(PromptInputMode mode) {
  return !_nonEditableModes.contains(mode);
}