pyte.screens.Char is a namedtuple (immutable), so fields can't be mutated directly. Also 'width' doesn't exist — the correct field is 'blink'. Now creates new Char(...) objects for buffer restoration. Fixes server switching being completely broken (AttributeError on save). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>