commandline edit for core

Modify the current command line input buffer.

Signature

> commandline edit {flags} (str)

Flags

  • --append, -a: appends the string to the end of the buffer
  • --insert, -i: inserts the string into the buffer at the cursor position
  • --replace, -r: replaces the current contents of the buffer (default)

Parameters

  • str: the string to perform the operation with

Input/output types:

inputoutput
nothingnothing