nobody-famous / alive-lsp

Language Server Protocol implementation for use with the Alive extension
81 stars 9 forks source link

REPL: (y-or-n-p) outputs retry prompt twice for one invalid input #56

Open proehlen opened 1 year ago

proehlen commented 1 year ago

Thanks for this extension. This is maybe a low priority issue but I thought I'd log it in case it's a symptom of something worth fixing:

The standard function (y-or-n-p) outputs any retry prompt twice for any single non-valid input. In the below example, I only entered the letter 'a' once in response to the first prompt:

(y-or-n-p)
(y or n)                                                       <--- I entered "a" here
Please type "y" for yes or "n" for no.
(y or n) 
Please type "y" for yes or "n" for no.
(y or n) 

In the SBCL REPL, I only get the retry prompt once as expected.