commandline
for core
View or modify the current command line input buffer.
Signature
> commandline (cmd) --cursor --append --insert --replace
Parameters
cmd
: the string to perform the operation with--cursor
(-c)
: Set or get the current cursor position--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)