troglobit / editline

A small replacement for GNU readline() for UNIX
https://troglobit.com/projects/editline/
Other
281 stars 58 forks source link

Respect `el_hist_size` #67

Closed Feoramund closed 6 months ago

Feoramund commented 6 months ago

It was previously subject to a sort of off-by-one error, because of the addition of NILSTR in el_prep. This should allow a history size of 1 to function correctly now.

troglobit commented 6 months ago

Nice work! 😎👍