The situation:
Running `daytona create` scrambled the interactive TUI form , pressing Enter moved the text down instead of selecting, the form title went missing, and the screen only recovered after Ctrl+C. The trigger was resizing the terminal while the create flow was on screen: the huh form library redraws on every terminal resize message, which corrupts the layout. Reported on Daytona CLI v0.18.0 on macOS.
What actually fixes it (verified in the thread):
This is a known bug in the `daytona create` interactive form: resizing the terminal mid-flow corrupts the TUI because the form redraws on every resize event (huh library issue charmbracelet/huh#341). Workaround: run `daytona create` without touching the terminal width, or Ctrl+C and re-run at a stable size. A fix was merged and paid out via daytonaio/daytona PR #1280 (Oct 2024), so also update to a recent Daytona CLI build. Source: https://github.com/daytonaio/daytona/issues/665