Jonathan Turner
f58df2eda0
Unicode movement, pt 2 ( #8 )
...
* Implement initial unicode movement and repaint
* Finish updating unicode navigation
* More fixes and refactor for ctrl
2021-03-09 15:30:38 +13:00
Jonathan Turner
bf161b1969
Unicode movement ( #7 )
...
* Implement initial unicode movement and repaint
* Finish updating unicode navigation
2021-03-09 14:47:49 +13:00
Niklas S
68f7adafb9
Simple history implementation ( #6 )
...
* Implement basic history for Up arrow key
* Add Arrow Down for history navigation
2021-03-09 12:23:30 +13:00
Basile Henry
b337d3a0db
Use Unicode words for movement ( #5 )
...
* Use Unicode words for movement
This also skips multiple consecutive non-word characters (word boundaries) as part of the movement in a similar way to how bash/readline do it.
* Simplify logic
* Fix off by one slicing issue and simplify logic further
2021-03-08 13:02:12 +13:00
Dheepak Krishnamurthy
4c63c7a0cd
Change unicode example ( #4 )
2021-03-06 12:00:26 +13:00
Jonathan Turner
1473098ff2
Merge in refactor and unicode work ( #3 )
...
* First stage of refactor
* Finish moving to insertion point
* refactor to move word
* WIP
* Working a bit better
2021-03-06 11:30:44 +13:00
Jonathan Turner
bf416d8e81
Merge pull request #2 from E3uka/implement-eof
...
Implement EOF
2021-03-05 07:05:33 +13:00
Ebuka Agbanyim
3fb9f09d5b
Implement EOF
...
This pull request allows you to exit the repl by pressing CTRL + d.
2021-03-04 16:01:55 +00:00
Jonathan Turner
794a0045bf
Merge pull request #1 from nschoellhorn/main
...
Implement primitive word-jumping
2021-03-02 06:56:13 +13:00
Niklas Schoellhorn
21180f15b5
Implement primitive word-jumping
...
With this patch, if you hold ALT (or Option on Mac) and then
press Arrow Left or Arrow Right, the cursor will jump over the
whole word instead of just one character to allow for more
natural text editing.
2021-03-01 08:36:19 +01:00
Jonathan Turner
236b6e0c09
Update README.md
2021-02-28 22:45:43 +13:00
Jonathan Turner
99b84142d2
Update README.md
2021-02-28 22:45:28 +13:00
Jonathan Turner
85d4627b7d
Update README.md
2021-02-28 22:45:18 +13:00
Jonathan Turner
b263b0790f
initial commit
2021-02-28 22:44:28 +13:00
Jonathan Turner
2b6fdbfa65
Initial commit
2021-02-28 22:42:07 +13:00