From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Amos Bird Newsgroups: gmane.emacs.help Subject: unpleasant flickering in terminal emacs Date: Fri, 27 Apr 2018 19:58:56 +0800 Message-ID: <87po2k7tdr.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-Trace: blaine.gmane.org 1524830252 19850 195.159.176.226 (27 Apr 2018 11:57:32 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 27 Apr 2018 11:57:32 +0000 (UTC) User-Agent: mu4e 1.0-alpha3; emacs 27.0.50 To: help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 27 13:57:27 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fC20E-00052g-CS for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Apr 2018 13:57:26 +0200 Original-Received: from localhost ([::1]:47479 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fC22L-0007Mo-5c for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Apr 2018 07:59:37 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37987) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fC21s-0007LE-0x for help-gnu-emacs@gnu.org; Fri, 27 Apr 2018 07:59:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fC21o-0001BO-6E for help-gnu-emacs@gnu.org; Fri, 27 Apr 2018 07:59:08 -0400 Original-Received: from mail-pf0-x229.google.com ([2607:f8b0:400e:c00::229]:35148) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fC21n-0001BJ-WC for help-gnu-emacs@gnu.org; Fri, 27 Apr 2018 07:59:04 -0400 Original-Received: by mail-pf0-x229.google.com with SMTP id j5so1349265pfh.2 for ; Fri, 27 Apr 2018 04:59:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=user-agent:from:to:subject:date:message-id:mime-version; bh=GY3okY/S8IWncxjp9M1fscu6vhkfYJwRUFTnLzDbvj4=; b=uKmsGgqCbPJsbdb8T8IaB5PVeJpyXsCTItRBr610L1+Q+1X+8tqmCoVLXapsP/KgMD SYvWcKDgbkop042yUJMNIN7LVAFZo5PV0WqAO56mW41oJnIsyHvooIR1vea8zQP88eZp 4116eQ7wU23ubTYNzVJtTrwj6X+Ekhpvgb9DZ3od2mgKjhJe3snN7k6S0pWKAIKjI5zA t70v8P5hZiutS4Fg3V5JwaxNGidNFAvdqgxS7x5C7pADHlRjtu7aCxCLF0KIHKgl0Doc vouS0/w8PMZ3Wk8JJW8QFDxPQ9KUQ0mZDjQwaE7daB10o24CRXDCtyyeQGR80s56HIjU AbkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version; bh=GY3okY/S8IWncxjp9M1fscu6vhkfYJwRUFTnLzDbvj4=; b=rku1AOdHr3LudFcgieM8l7aRhn3lZuw2PF5QREUN9whR7AuPUedMohf7FTn1UkJqG2 vkHcfxx1/pbLMFdq6TuWUYItmaU7HwBmg+1+V2CPyTwtTqcFnjcMYrlYYNmiNw775Rs5 k3uTHQNI8LLs/xD/GU5fWfQyvFs045zoppwxEXtYDgdpIp+8MDd1MRilHaZSEoWwD0rw csz8RSWAkvClr6fbraDvOXFiTWihRfah3SpYmzt6JSD/o+4Tprt/7TmzCurlihxkNmQg hn/BNNGgP/H7/J9+aqGMVA8HoUQ0PBBaivebAoGHLoiR4qVin7lJ1j46cfejwZ682fDy 9KAg== X-Gm-Message-State: ALQs6tAAlvosys9luXp/xj4SkWAEEOt99tcuFwomfVYepdllEB9XwWKO 2EU5EAPqNtIOoZ6Eay+lM0E+kg== X-Google-Smtp-Source: AB8JxZozsLjWSLDwSFVBkcBuQrEieeR+iF0/IET/1jvy2eVafqluMHVCELT2zPgc2EPzF0LHTTM8KQ== X-Received: by 2002:a17:902:ac1:: with SMTP id 59-v6mr2065994plp.367.1524830342727; Fri, 27 Apr 2018 04:59:02 -0700 (PDT) Original-Received: from localhost ([168.235.105.19]) by smtp.gmail.com with ESMTPSA id c8sm2339960pfi.96.2018.04.27.04.59.00 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 27 Apr 2018 04:59:02 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c00::229 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:116605 Archived-At: Hi, I'm using emacs master branch in terminal (alacritty). When moving cursor with relative line number enabled or scrolling up/down, I get unpleasant screen flickering. However, frame switch works fine, which I suppose uses full rendering updates. It seems partial rendering update doesn't work well. The author of alacritty mentioned one possible cause : "flickering is typically caused by a program not writing full updates to the pty. We drain all available bytes up to like 64k before yielding for a render. It may be that we should add some heuristic around time to prevent flickering from poorly behaved terminal applications." So my question is, can I enable full updates for every redisplay? Thanks! Here is a screencast of flickering. https://youtu.be/wv4QINKHDUY regards, -- Amos Bird amosbird@gmail.com