https://github.com/OpenHands/OpenHands-CLI/pull/210 @curved-angle-80449 fix for an issue that was reported by you
Its already fixed but I added a unit test to double check (this is only for the new experimental UI which will be made the default experience soon)