Unreasonable line-editor behaviour
The line-editor used in GHCi is unusably broken.
Steps to reproduce
Run GHCi, then type
abc and press Ctrl+A (or the Home key).
The visible cursor will now be over the
Pressing the right arrow key three times moves the visible cursor far beyond the visible text.
Repeating this process will continually shift rightward
the position that the line-editor sees as the beginning of the line.
The cursor location and the visible text are out of sync.
The press of Ctrl+A should result in the cursor moving to the beginning of the line, rather than just one character to the left of where it was.
- GHC version used: 8.10.5
- Operating System: macOS 11.3
- System Architecture: arm64
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information