Closed linearsunrise closed 4 years ago
thanks! it seems fine to me, can you please squash rebase your commits into a single one so we are sure there are no modifications other than in the tui_main.c
file ?
Is this the behavior we actually want? It seems to make typing in something horizontally kind of weird... I didn't know the JS version worked like that. But is it actually good?
Is this the behavior we actually want? It seems to make typing in something horizontally kind of weird... I didn't know the JS version worked like that. But is it actually good?
hello. yeah, i understand. but i just wanted to add a backspace key so it would work for character deletion (i mean, adding the dot character), and in append mode it would work as in all usual text editors. for example, i want to use halts (or '#') as comment lines and type some support info in the patch. like i said, in orcaJS the cursor should be on a character, and in my opinion it's kind of inconvenient, because then i should press backspace one more time, before it would start to delete characters.
i'm so sorry, i'm not figured out how to push rebased commits properly. @npisanti could you please cherrypick this commit? its link is https://github.com/hundredrabbits/Orca-c/commit/36421766d0c25f02fee17ead6faedd4983d6bec0
Is this the behavior we actually want? It seems to make typing in something horizontally kind of weird... I didn't know the JS version worked like that. But is it actually good?
It goes backward when deleting only in append mode, i tested it and it feels very natural, expecially when writing out sequences inside T. Just checked the latest version of orcaJS and it also has the same functionality.
OK. If you think the behavior is better, then it's fine with me. You guys use it a lot more than I do.
merged!
added deletion behavior for backspace key.
backspace is implemented as it needed to be: the cursor deletes characters before the cursor's position in append mode.
but i noticed that in js version there the cursor is right on the character, and in c it would look like this