widget: Set the ring's in-memory size on terminal reset