Strange issue with readline

2022-09-09 Thread archnim
Shouldn't rdstdin be comprised in the terminal module ?

Strange issue with readline

2022-09-09 Thread archnim
Thanks

Strange issue with readline

2022-09-09 Thread archnim
Hello world ! My program uses `stdin.readLine`. When typing my input text, I can't use the left and right arrow keys to navigate through it. If I try, instead of moving the cursor, it prints `^[[D` and `^[[C`. Does somebody know why ? I use allacritty and xfce terminal (If this detail is useful

Strange issue with readline

2022-09-09 Thread Yardanico
Because that logic needs to be implemented in the program itself on nix. If you don't want to do it manually - you can use or Nimble modules (like the ncurses wrapper).