AppliedLogicSystems / ALSProlog

ALS Prolog Compiler & Development Environment
https://alsprolog.com
MIT License
16 stars 9 forks source link

alsdev: Incorrect cursor behavior on console command line. #122

Open kenbowen opened 6 years ago

kenbowen commented 6 years ago

Start ./alsdev A. 1) Click on the console window anywhere below the ?- prompt. Then the blinking cursor is (correctly) located one space to the right of the ?- prompt. 2) Click on the cursor line anywhere to the right of one space to the right of the ?- prompt. Then the blinking cursor is (correctly) located one space to the right of the ?- prompt. 3) Click on the cursor line anywhere to the left of one space to the right of the ?- prompt. Then the cursor is (incorrectly) located at exactly the point of clicking. 4) Click anywhere above the cursor line. Then the cursor will is (incorrectly) located at exactly the point of clicking, except for the blank lines, where the cursor is (incorrectly) located at the far left position of the line of clicking.

B. After clicking, start typing, say the word “here”. *) In cases 1 & 2), the word “here” correctly appears starting one space to the right of the ?- prompt. **) In cases 3 & 4), the letter “h” does not appear, the cursor jumps to the point one space to the right of the ?- prompt, and the remainder of the word, “ere” appears starting one space to the right of the ?- prompt.

Items A 1&2) + B *) are correct behavior. Items A 3&4) + B **) are incorrect behavior.