pass lineno to update screen