From: Jiamu Sun <39@barroit.sh> Date: Wed, 11 Mar 2026 02:16:09 GMT Subject: Re: [PATCH v3 3/8] help: move tty check for autocorrection to autocorrect.c Message-ID: In-Reply-To: On Tue, Mar 10, 2026 at 07:06:17AM -0700, Karthik Nayak wrote: > > +struct autocorr { > > + enum autocorr_mode mode; > > + int delay; > > +}; > > + > > I would say the naming doesn't indicate what it is used for. How about > 'autocorrect_config'? Using autocorrect_config is best for semantics. The only problem is that it's too long. Since currently, this struct contains all fields needed by our autocorrect_*, using "autocorrect" to describe it is enough, perhaps? -- Jiamu Sun <39@barroit.sh>