Skip to content
Snippets Groups Projects
Commit e23d4e19 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Allow string command parameters to line wrap the terminal and log them

parent dbbdd109
No related branches found
No related tags found
No related merge requests found
......@@ -907,9 +907,10 @@ function get_arg(str, parm, history)
str=str.replace(/^\s+/,"");
if(str=="") {
write(format("%s: ", parm));
str=console.getstr(128, K_MSG | K_TRIM, history);
str=console.getstr(200, K_MSG | K_TRIM | K_LINEWRAP, history);
}
if(str) {
log(parm + ": " + str);
var i = history.indexOf(str);
if(i >= 0)
history.splice(i, 1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment