anchor.diff:  		}
   	1 {
   		# clear from cursor to beginning of the screen.
  -		[System.Console]::CursorTop = $Host.UI.RawUI.WindowPosition.Y;
  -		[System.Console]::CursorLeft = $Host.UI.RawUI.WindowPosition.X;
  +		set-cursor $Host.UI.RawUI.WindowPosition.X $Host.UI.RawUI.WindowPosition.Y;
   
   		$s = " " * ( $y * $w + $x );
   		Write-Host -NoNewLine $s;
  
positive.code: 
  	switch ( $mode[0] ) {
  	0 {
  		# clear from cursor to end of line.
  		$s = " " * ( $w - $x );
  		break;
  		}
  
negative.code: 	}
  
  	# Restore to the original cursor position
  	set-cursor $posX $posY;
  }
  
  # =========================================================================
  