Currently Ink's output UI breaks if you resize terminal window down (reduce its width). To fix that, you'd need to detect when window was resized down and calculate how many output lines need to be erased in https://github.com/vadimdemedes/ink/blob/master/src/log-update.ts, so that there are no lines left from the previous output, before we render a new one. This file is a fork of log-update, so you might be able to find some insights there.
See https://github.com/vadimdemedes/ink/issues/341.
Currently Ink's output UI breaks if you resize terminal window down (reduce its width). To fix that, you'd need to detect when window was resized down and calculate how many output lines need to be erased in https://github.com/vadimdemedes/ink/blob/master/src/log-update.ts, so that there are no lines left from the previous output, before we render a new one. This file is a fork of log-update, so you might be able to find some insights there.