Fixing prompt wrapping issues