Skip to content
Snippets Groups Projects
Commit b77c25ff authored by mcmlxxix's avatar mcmlxxix
Browse files

Added ClearInputLine() function

parent 222d9254
No related branches found
No related tags found
No related merge requests found
......@@ -140,7 +140,7 @@ function ChatEngine(root,name,log_)
this.BackSpace();
break;
case '\r':
if(!this.fullscreen) ClearLine(this.input_line.columns,this.input_line.x,this.input_line.y);
if(!this.fullscreen) this.ClearInputLine();
else
{
console.left(this.buffer.length)
......@@ -161,6 +161,10 @@ function ChatEngine(root,name,log_)
}
return true;
}
this.ClearInputLine=function()
{
ClearLine(this.input_line.columns,this.input_line.x,this.input_line.y);
}
this.BackSpace=function()
{
if(this.buffer.length>0)
......
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