zsh-users
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: "Marc Cornellà" <hello@mcornella.com>
Cc: Philippe Troin <phil@fifi.org>, Zsh Users <zsh-users@zsh.org>
Subject: Re: Detect typed input without swallowing characters
Date: Fri, 11 Feb 2022 11:08:43 -0800	[thread overview]
Message-ID: <CAH+w=7bk_1SWoryDycWjA-As9Q6L_zeSLNbcu61YKA38vxNNUg@mail.gmail.com> (raw)
In-Reply-To: <CACn48No-sNDR84CjFgGmzeuOvRc7UMUwWm9TEcLgC0afFP=eQQ@mail.gmail.com>

On Fri, Feb 11, 2022 at 1:09 AM Marc Cornellà <hello@mcornella.com> wrote:
>
> It does work, thanks! I tried my best at using STTY to avoid having to
> reset it afterwards, but it didn't have the desired effect.

STTY= only works for external commands, not builtins / shell functions.


      parent reply	other threads:[~2022-02-11 19:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-10 21:21 Marc Cornellà
2022-02-11  0:04 ` Philippe Troin
2022-02-11  9:08   ` Marc Cornellà
2022-02-11 16:15     ` Philippe Troin
2022-02-11 19:08     ` Bart Schaefer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAH+w=7bk_1SWoryDycWjA-As9Q6L_zeSLNbcu61YKA38vxNNUg@mail.gmail.com' \
    --to=schaefer@brasslantern.com \
    --cc=hello@mcornella.com \
    --cc=phil@fifi.org \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).