add line restore on buffer load

Signed-off-by: Austin Foxley <austinf@cetoncorp.com>