fix resize + multiline input prompt