From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi1-x22c.google.com (mail-oi1-x22c.google.com [IPv6:2607:f8b0:4864:20::22c]) by sourceware.org (Postfix) with ESMTPS id D39BD3857838 for ; Wed, 21 Dec 2022 21:31:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org D39BD3857838 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=dinwoodie.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=dinwoodie.org Received: by mail-oi1-x22c.google.com with SMTP id r205so227696oib.9 for ; Wed, 21 Dec 2022 13:31:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dinwoodie.org; s=google; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=hQFnAsmuTaV0QhjgYb2dW9EW+jyjtng01jAfj68VhNQ=; b=rIxKbFPysha65eIznQT/Bf1jnBEiJ4O9kO0wJZ9XhKDH8selAWIVehx1hunpmt1CQR gHfFu9ODuOvzxxiG0hcFs3aIXu1kv8RsJcKE8TfLCwKxXFFMb95BYPhm/aa+aVCPkQp8 3leGYs50ZHLMexQPaKTpp69hJ5R4ngmcHd598= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=hQFnAsmuTaV0QhjgYb2dW9EW+jyjtng01jAfj68VhNQ=; b=OJfSbBWcT7ZrNzVnWQAJUJO4/2pCVVOnUiG3HUPtYXbQg/VqOnuN4cIB+pFhUrA57F lwD6q9XwEPPw/BGMMts9HsYiCOnbcmeSvSEzTdUWqeA+qegRdEdTwzsEHvWBFgkxRIKL lvpU9TVQ5n1DD1yqZMbUfp1y0iYkkxJ4kx+Hy0oSlhgSV5dbC16FcX6LyMSvzJj6VzWT ylat7e7/fmEClT/6jmQ5OufsSGqA+m/z8g/o3VgqqPkb8qfmZTXo69QPuAwpYTSTsln2 vspz/iueF5d6VTRxSBzaCVVosZzuLTpQC7BKVvm9N3/tyVuSa8alpQkGfpm7dbE0dl07 fOHQ== X-Gm-Message-State: AFqh2krms508jgp+glL0iGoJAThBXD/xwMGZ/nuITNgnZDYm6K6YRGWS +wSt5oqSU9VgSD2HhsFcq1Ad4azbRRAE49yAGfMhulxV7z0WQw== X-Google-Smtp-Source: AMrXdXuy7hRRDRt7pHP92q9TpQ+xtORicWgCOS4MO8S2r1Tlvpuqhcp7ZTGU2Ye2Yuz59K8woDbiFyH/arbMaCqUGpE= X-Received: by 2002:aca:100a:0:b0:361:139b:fda6 with SMTP id 10-20020aca100a000000b00361139bfda6mr30847oiq.293.1671658271400; Wed, 21 Dec 2022 13:31:11 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Adam Dinwoodie Date: Wed, 21 Dec 2022 21:30:35 +0000 Message-ID: Subject: Re: Resizing window while showing git log locks up Command Line To: "cygwin@cygwin.com" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Wed, 21 Dec 2022 at 16:08, Gregory Mason via Cygwin wrote: > > Hello Cygwin volunteers, > > I was asked to forward this bug report from the git-for-windows bug repor= t: https://github.com/git-for-windows/git/issues/4060 > Original bug report from garretwilson > > > Find a Git repository with a long commit history. > > Enter `git log` > > Git will show the log history and wait for you to page through the hist= ory or hit q to exit. > > Press Win+Left-Arrow to snap the window to the left side of the screen. > > The window is now hung. Nothing can be typed to get it un-hung. Typing = q does nothing. Typing Ctrl+C does nothing. Typing does nothing. > = The only way out of this is to close the terminal window and start a new Co= mmand Prompt or PowerShell session. > > > > I've reproduced this with Command Line and with PowerShell 7.2.6. > > I am also experiencing this issue with the following setup: > CYGWIN_NT-10.0-19044 version 3.4.3-1.x86_64 (runneradmin@fv-az479-541) (g= cc version 11.3.0 (GCC) ) 2022-12-16 12:38 UTC > > Windows 10 > Version 21H2 > Installed on ?7/?11/?2022 > OS build 19044.2251 > Experience Windows Feature Experience Pack 120.2212.4180.0 > > If you need further information, please let me know. This looks like it's an issue with less, which will be the pager that Git is using. I've just verified I can reproduce it by running `C:\cygwin64\bin\less.exe C:\cygwin64\var\log\setup.log` from within a PowerShell terminal, then resizing the terminal; it doesn't need to be a "snap" to trigger the behaviour. Somewhat to my surprise, `more` and `vim` don't exhibit this behaviour.