Good fix Dave 👍
Not the usual cable with turnbuckle that everyone has, looks plenty tough!
That does look like a tight fit in the wall, guessing that gate in any NM "standard" opening with 1" of gap would still be considered in great shape for another decade 😀
Anyway, repair will give you time to dream up something in style and maybe ipe for eventual replacement!