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=MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: (qmail 5472 invoked from network); 5 Apr 2020 14:39:49 -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; 5 Apr 2020 14:39:49 -0000 Received: (qmail 20179 invoked by alias); 5 Apr 2020 14:39:38 -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: 24737 Received: (qmail 15410 invoked by uid 1010); 5 Apr 2020 14:39:38 -0000 X-Qmail-Scanner-Diagnostics: from 7.smtp.34sp.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(46.183.8.237):SA:0(-1.9/5.0):. Processed in 1.914887 secs); 05 Apr 2020 14:39:38 -0000 X-Envelope-From: dave@tty1.uk X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: none (ns1.primenet.com.au: domain at tty1.uk does not designate permitted sender hosts) Date: Sun, 5 Apr 2020 15:38:46 +0100 From: Dave Woodfall To: Zsh Users Subject: Is it possible to limit the height or rows of menus? Message-ID: <20200405143846.GC32510@blackswan.r0t.uk> Mail-Followup-To: Zsh Users MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-Authenticated-As: dave@unrealize.co.uk X-OriginalSMTPIP: 82.40.94.2 X-34spcom-MailScanner-Information: Please contact the ISP for more information X-34spcom-MailScanner-ID: 8099442731D.A2BC0 X-34spcom-MailScanner: Found to be clean X-34spcom-MailScanner-SpamCheck: not spam, SpamAssassin (score=-10, required 6.5, autolearn=disabled, X34SP_OVERRIDE -10.00) X-34spcom-MailScanner-From: dave@tty1.uk zsh 5.6.2 When using menu select with a command that has many options, all rows in the terminal may be filled, and the context is lost (i.e. any previous commands and their output disappear past the top of the terminal, so needing to scroll back up to see them.) What I would like to do is limit the number of rows. I tried doing something like: LINES=10 grep - Which doesn't work. I'm using the following options: autolist listpacked listrowsfirst menucomplete nolistbeep zstyle ':completion:*' menu true select zstyle ':completion:*' single-ignored 'menu' Is there a way to accomplish this? Thanks