249cc3cb24Added scroll functionality when any key is pressed on the last lineAadhavan Srinivasan2023-04-26 09:37:56 -05:00
68de7f7337Added handler functions for right and left arrow keys, that check cursor position before moving the gapRockingcool2023-04-25 07:50:51 -05:00
1355c58cf3Fixed a bug where, if a page ends in a line that just contains the newline character, the page doesn't render correctly after scrollingAadhavan Srinivasan2023-04-24 15:34:12 -05:00
315245dd54Added a window within the stdscr, which is used for printing the text, as well as another 'status window'Rockingcool2023-04-22 18:37:38 -05:00
230d26e411Fixed bug with creating a new file, and then saving itRockingcool2023-04-22 13:31:01 -05:00
f4f19c7c39Switched to using raw mode, which allows me to capture the 'Ctrl+s' keypress. I have implemented save functionality using this keypress, and implemented functionality to capture Ctrl-C as well.Rockingcool2023-04-22 10:14:09 -05:00
3b20d6ccf7Fixed page down support, added page up supportRockingcool2023-04-21 21:12:35 -05:00
9524ba4df9Implemented rudimentary 'page down' key support, which moves the cursor to the first character of the next lineRockingcool2023-04-20 23:54:48 -05:00
5414cf41c9Fixed bug where cursor was positioned to the second character instead of the first, after reading a fileRockingcool2023-04-19 17:21:57 -05:00
6d50747752Fixed a bug with moving the cursor to the start of the text, and fixed a bug where the grow method would cause weird anamoliesRockingcool2023-04-19 17:21:14 -05:00
687453870dStarted fixing bug that occures when gap is at the start of the textAadhavan Srinivasan2023-04-19 14:27:30 -05:00