Both y/n prompts in glim.sh only check for the literal character n to mean no. Any other input — including Escape (\x1b), arrow keys, or garbage — falls through to yes and proceeds with installation.
The condition should accept only y, Y, or Enter as confirmation, and treat everything else as no.
Both y/n prompts in
glim.shonly check for the literal characternto mean no. Any other input — including Escape (\x1b), arrow keys, or garbage — falls through to yes and proceeds with installation.The condition should accept only
y,Y, or Enter as confirmation, and treat everything else as no.