isQueuedCommandEditable method

bool isQueuedCommandEditable(
  1. QueuedCommand cmd
)

Whether this queued command can be pulled into the input buffer.

Implementation

bool isQueuedCommandEditable(QueuedCommand cmd) {
  return isPromptInputModeEditable(cmd.mode) && !cmd.isMeta;
}