Re: [PATCH v3 3/8] help: move tty check for autocorrection to autocorrect.c
- From
- Jiamu Sun <39@barroit.sh>
- Date
- Mar 12, 2026, 00:10 UTC
- Message-ID
- <SY0P300MB0801E747D883046C5D030D22CE44A@SY0P300MB0801.AUSP300.PROD.OUTLOOK.COM>
- In-Reply-To
- <CAOLa=ZS=2msGg5d-6-LgVD6XSduYze46iWcT2X_dJDd=6AOOkA@mail.gmail.com>
On Tue, Mar 10, 2026 at 07:06:17AM -0700, Karthik Nayak wrote:
Show 5 quoted lines
> > + return AUTOCORRECT_DELAY; > > } > > > > Okay so since we introduce an enum we use that here.
Ah actually, I messed up this patch. There was a commit that moved autocorrect config into a struct and introduced the mode enum. But somehow it's gone. I'll split this patch into two.
--
Jiamu Sun <39@barroit.sh>
<sunjiamu@outlook.com>