- Limit popup width to a configurable range (40‑80 characters) and ensure a minimum width of 1. - Preserve original width when the terminal is narrower than the minimum. - Clamp the y coordinate to the top of the area to avoid negative positioning.
- Limit popup width to a configurable range (40‑80 characters) and ensure a minimum width of 1. - Preserve original width when the terminal is narrower than the minimum. - Clamp the y coordinate to the top of the area to avoid negative positioning.