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.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,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 293b1e41 for ; Mon, 15 Jul 2019 03:03:01 +0000 (UTC) Received: (qmail 25029 invoked by alias); 15 Jul 2019 03:02:51 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: List-Unsubscribe: X-Seq: 24062 Received: (qmail 15616 invoked by uid 1010); 15 Jul 2019 03:02:51 -0000 X-Qmail-Scanner-Diagnostics: from mail-vs1-f50.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.101.2/25510. spamassassin: 3.4.2. Clear:RC:0(209.85.217.50):SA:0(-2.0/5.0):. Processed in 1.285323 secs); 15 Jul 2019 03:02:51 -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.50 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=FmXtg5jXjyktfmxaqDvWnsOGNwxZguCS4MokaVgyLuc=; b=vBgJCwLBPnvi+MhNBteSeJ+QFpJ2OeF+GVC71QPUYdCsIjkBkyZ6sfT5siapTtAiH/ CMDPwJ9nK7JWF1L6Q6QBQxKfnq/xWVz3ZYRJHDWFQVEPOB74gaiTRSKmDn3lTWKjLLPX kuWT/17Eo6kFbBsj9dBxMwubvE3UQ0PPnRhUaYYqwLVdg5zWI964k2Zx6mn/+6H+xJL1 e+3sNaVp0ldEXTgRPpHA+84GfW3kELxGdxZwmHWzAKfN29l+MXel44kF52tFV9QZHV6g gESov8Iq0C5kACssydf0qZxc0sCVy/VpQIARlJlvT9GoK1S3sLH99+syNV4r9YUlXG+I BGkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=FmXtg5jXjyktfmxaqDvWnsOGNwxZguCS4MokaVgyLuc=; b=eVn/qm/hYo7Vj3OnwKQwbfVUpWU5rA41Yqra9lBwHt9zxDDBzby6AWqvbJI2i8MOMV BLijluLDDKIc4LLh2e0RsaOoinBoEJyR/0UuKb8X1OWCVnTul9qVs2ZXWke68LUglTrQ GcJOm7ENWJaHNDI5w75/4RpHHHPgEbr26/bAvH4TBfIdZz/IBP4Pf/P5bGGC05ugNmqW 1y7rzQAbZV3lQ0neV8YRkR70ORRs/4yNOeDMeJqwQSRx3skqdIHJWie47l4YK+BzUzuU d39ktF51feDVzzl7sxXshM5/D2U+QNxNOa2Qf5Xs9oAjsnGd44UDOv6MJZ1tbnFmwPhG OgMQ== X-Gm-Message-State: APjAAAVDD1+a3aVbn0zeNAeZEUz0HrBZzEK/i5adJbvjLDdhVkRkMBti FAE7g5MPF+pltM+XB3ZJBMKkEkZrlQVyBRuygE1VgtoucUk= X-Google-Smtp-Source: APXvYqxOaBPyFwMb3R06AK77bezyTUSGPHwlfVYGUDJx7ofognYoMEVxlEVYkdY/42Yzz8YJEe9Zuoc2YNVT+i3LrZs= X-Received: by 2002:a67:80c8:: with SMTP id b191mr15790884vsd.113.1563159736106; Sun, 14 Jul 2019 20:02:16 -0700 (PDT) MIME-Version: 1.0 From: Sebastian Gniazdowski Date: Mon, 15 Jul 2019 05:02:04 +0200 Message-ID: Subject: zle .redisplay sometimes eating up a line To: Zsh Users Content-Type: text/plain; charset="UTF-8" Hello, I have a problem where a .redisplay call done from a zle -F callback eats up a previous line of text in the terminal. There it happens with 100% accuracy, always. When trying to reproduce it happens occasionally, as recorded in the following video: https://asciinema.org/a/257379 (it's using function: https://gist.github.com/psprint/f2a0db07cc80351e19e30378c6eaa779) I wonder what might be the cause? I recall that there are messages appearing on a regular basis on a prompt eating up the last line of the display. Maybe the issues are related? -- Sebastian Gniazdowski News: https://twitter.com/ZdharmaI IRC: https://kiwiirc.com/client/chat.freenode.net:+6697/#zplugin Blog: http://zdharma.org