src/TerminalObject/Dynamic/Animation/Keyframe.php
protected function currentBottomLine($lines, $total_lines, $current)
    {
        $keyframe = array_fill(0, $total_lines - $current, '');

        return array_merge($keyframe, array_slice($lines, 0, $current));
    }
protected function currentBottomLine($lines, $total_lines, $current)
    {
        $keyframe = array_fill(0, $total_lines - $current, '');

        return array_merge($keyframe, array_slice($lines, 0, $current));
    }
protected function currentBottomLine ( $ lines , $ total_lines , $ current ) { $ keyframe = array_fill ( 0 , $ total_lines - $ current , '' ) ; return array_merge ( $ keyframe , array_slice ( $ lines , 0 , $ current ) ) ; }
Slice off X number of lines from the top and fill the rest with empty strings

@param array $lines
@param integer $total_lines
@param integer $current

@return array
Slice off X number of lines from the top and fill the rest with empty strings