Strange IO and segmentation fault in ghci on Macos (aarch64)
Summary
After moving the cursor left using arrow keys and pressing any keys, right part of previously inserted input duplicates. Also, window resizing causes a segmentation fault.
Steps to reproduce
- Run ghci, press any keys, move cursor left using arrow keys, press any keys
- Resize terminal window
Environment
- GHC version used: 8.10.5
Optional:
- Operating System: MacOS 11.4
- System Architecture: aarch64