From mboxrd@z Thu Jan 1 00:00:00 1970 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,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: (qmail 20114 invoked from network); 4 Apr 2020 15:07:09 -0000 Received-SPF: pass (primenet.com.au: domain of zsh.org designates 203.24.36.2 as permitted sender) receiver=inbox.vuxu.org; client-ip=203.24.36.2 envelope-from= Received: from ns1.primenet.com.au (HELO primenet.com.au) (203.24.36.2) by inbox.vuxu.org with UTF8ESMTPZ; 4 Apr 2020 15:07:09 -0000 Received: (qmail 22782 invoked by alias); 4 Apr 2020 15:06:52 -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: 24733 Received: (qmail 26235 invoked by uid 1010); 4 Apr 2020 15:06:52 -0000 X-Qmail-Scanner-Diagnostics: from mail-lj1-f180.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.102.2/25771. spamassassin: 3.4.4. Clear:RC:0(209.85.208.180):SA:0(-2.0/5.0):. Processed in 1.549474 secs); 04 Apr 2020 15:06:52 -0000 X-Envelope-From: marlon.richert@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.208.180 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:from:date:message-id:subject:to; bh=RMyXuPWdUrPQR/Hpts7X0EUmVQmKr/Hzb5MUg45yWrQ=; b=YsXuScBYM4notHKlXXs5Z3UmgFFzPNNcRpUfSwi2935nx6Q46NussBmXLtSUkmDvNA 80uRU8bBXXx0Nk7MeKA9pkX5zSZaGcYc5UKvPC8B1pJ5I08J5xATNgw7fiHwAgGUQoUf 8GSUXd1c7V7s4a8w1UbqlzbMiicx1iWc+sGfQi4QvsslaY16uA1c2bnwjCSLJ6seevw0 3b+aJ/EMeMRfo+U/6ZLp+WoJRY86cqAqzPwsB2uKayzHBMfAuRNSh68l1qRZCFmsgzfG 8IkrqzgDeGSj/fj8nbk7lHgiaQN5Tuctf3L9cA59jM5ZhUzu/caB0B+vvBW6Ukk0imrX gl3g== X-Gm-Message-State: AGi0PubkVb/iEBgI1/jebBHg/ZRkt8RKRciGKKaj/dv3cFliqXtPuwQa lIw7qgFXHJkmHsTcFzqEMByxgY3C1OtXytcyshkgB2XN X-Google-Smtp-Source: APiQypKWtZ5PCk1IvVY2RbaN8xZh8dnJvk7J8jURihya3/mgstiE43Npu2KAXvSjlNH2zeqRkLur9iIgND22GVhEWyM= X-Received: by 2002:a2e:9c88:: with SMTP id x8mr7662385lji.190.1586012774895; Sat, 04 Apr 2020 08:06:14 -0700 (PDT) MIME-Version: 1.0 From: Marlon Richert Date: Sat, 4 Apr 2020 18:06:03 +0300 Message-ID: Subject: How to make completion menu select navigation not wrap around? To: zsh-users@zsh.org Content-Type: multipart/alternative; boundary="0000000000000e924405a278602d" --0000000000000e924405a278602d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable When using arrow keys to navigate the completion menu, I do not want it to wrap around (to the bottom row) when I press the up arrow key when I=E2=80= =99m on the top row of the menu. Instead, I want to go back to the command line. Is there a zstyle to turn off menu wrapping? Or inside a widget function, is there a parameter or function I can query to tell if the menu is open and which line we=E2=80=99re on (so that I can then `send-break` instead of= doing `up-line`)? --0000000000000e924405a278602d--