From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from primenet.com.au (ns1.primenet.com.au [203.24.36.2]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id a87b52d5 for ; Mon, 6 Jan 2020 17:51:03 +0000 (UTC) Received: (qmail 14955 invoked by alias); 6 Jan 2020 17:50:58 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: List-Unsubscribe: X-Seq: 45252 Received: (qmail 438 invoked by uid 1010); 6 Jan 2020 17:50:58 -0000 X-Qmail-Scanner-Diagnostics: from mail-vs1-f41.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.102.1/25684. spamassassin: 3.4.2. Clear:RC:0(209.85.217.41):SA:0(-2.0/5.0):. Processed in 2.476986 secs); 06 Jan 2020 17:50:58 -0000 X-Envelope-From: sgniazdowski@gmail.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.217.41 as permitted sender) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=K9Pzq7wa3C1ovOXHUxdDOqdz1/UM5EU0dtiMX4mGHrs=; b=ZeI+r1QlqmlP1LFmoMoqGK7Ncfp3d6uzCXVTFD2aG78UjEOGHY5JWRuLpW2gfWHMu8 t6vUhLLy7dC0V7PAcSf39PPPehCPgE1DJvQ7ATssHJY9qjsL8J3DE/RkO8xf2KZLyltn t4tTfzwaAaMJ36ckrvhXxyLihtqP4z8R8NdXLcoZ3ZenyWSyosx1ZUB+eWcWnBSWEblh vcHHSSfINV5YxMK6f85usgPgH1/9r3KG/B/6bex+MpMG0ZR4nxTTXz37j2VT2iE7q605 02eiU8P0Q2KQ9pqJBOrClQzhvEC+JtLP55ftbTzhgJ5R7A9dtHyNs152NtidhNNcUgTs el9w== X-Gm-Message-State: APjAAAVdkj0do80O1sf8s2PFbcQW46j+N3Fa7e9sAmwrU6Ywa5o4MmVA pyB9IudE3y3fCdHcfn08gG3pl0OkDjXmAbao2fiQjfID X-Google-Smtp-Source: APXvYqyeS4A/A0RvIXqmLxeqTDMq+uc4Zmh6HOo6gTSwc2qSzmJRpuoYG/iKSc2oAV5hGQ7BbQ+6JGCrlpgi353pWrY= X-Received: by 2002:a67:e24f:: with SMTP id w15mr53505941vse.113.1578333022071; Mon, 06 Jan 2020 09:50:22 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Sebastian Gniazdowski Date: Mon, 6 Jan 2020 18:50:15 +0100 Message-ID: Subject: Re: PATCH: draw prompt on the correct line after window change To: Roman Perepelitsa Cc: Zsh hackers list Content-Type: text/plain; charset="UTF-8" On Mon, 15 Jul 2019 at 19:21, Roman Perepelitsa wrote: > > Many terminals reflow text when the window is resized. > (...) > This patch cannot handle the case when the terminal window is being > resized while the first prompt line is outside the terminal window. > The content of the viewport will be correct but scrolling the terminal > window up will reveal some mess up there. ZSH before this patch also > fails in this case although it creates a different mess. I thought that I'll bump this patch. The bug is very annoying, it constantly appears in the reports to the list starting probably from 2016 when I've joined (well, that was in 2015, actually). Take a look at a mess that it creates: https://www.reddit.com/r/zsh/comments/ejeeb1/. -- Sebastian Gniazdowski News: https://twitter.com/ZdharmaI IRC: https://kiwiirc.com/client/chat.freenode.net:+6697/#zplugin Blog: http://zdharma.org