79744111

Date: 2025-08-23 08:30:03
Score: 1
Natty:
Report link

Instead of read -s -r -N 1 use read -e -s -r -N 1 call. Here only addition is the -s switch which tells read to use readline library for input and then only read will be able to understand arrow keys and other complex keystrokes.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: rusty