Commit Graph

109 Commits

Author SHA1 Message Date
32e4030a4a Add logging for various FFI/Termios tasks 2023-11-30 11:46:25 -05:00
1b748ed63e Improve display of save as 2023-11-30 11:15:37 -05:00
02be6a133c Refactor everything again 2023-11-29 16:09:58 -05:00
e9ce780c1d Actually fix crash on macOS...somehow 2023-11-29 14:57:30 -05:00
9711202c3b Fix crash on macOS 2023-11-29 14:55:57 -05:00
8ee17f4eef Fix prompt in deno, but break in bun :( 2023-11-27 15:05:48 -05:00
4d54d4bf8a Attempt to fix deno prompt 2023-11-27 11:07:26 -05:00
759450222f Partially implement SaveAs prompt (need to fix Deno) 2023-11-27 10:25:30 -05:00
820d383c3a Get parsed keypresses from input loop 2023-11-24 08:31:51 -05:00
ddb5eb783e Polish text editing functionality 2023-11-22 17:09:41 -05:00
2babbf5c68 Implement merging lines of text from either end of a row 2023-11-22 15:11:32 -05:00
5cd59ba943 Require confirmation for quitting a 'dirty' document 2023-11-22 11:27:46 -05:00
b665ce8ce7 Basic deletion functionality 2023-11-22 11:07:33 -05:00
a7f5fed9a3 Increase test coverage 2023-11-21 16:36:13 -05:00
3d98eefc65 Update some constants 2023-11-21 16:06:29 -05:00
95c979066a Add text insertion 2023-11-21 15:14:08 -05:00
35f949c4b5 Complete the text viewer functionality 2023-11-21 11:35:56 -05:00
c9b37c205c Convert the render position pointer to just a number, since it doesn't apply to rows, just columns in rows 2023-11-21 10:55:23 -05:00
e5988c173d Add status bar 2023-11-20 15:39:27 -05:00
4df0c70c32 Add PageUp/PageDown and Home/End scrolling 2023-11-20 15:14:36 -05:00
28ec91798a Add horizontal scrolling 2023-11-20 14:21:42 -05:00
9b95850e86 Basic vertical scrolling 2023-11-20 11:12:22 -05:00
a1aa189e11 And a bit more test refactoring and cleanup 2023-11-16 21:22:24 -05:00
2aaf1c678b Refactor tests to be consistent for both runtimes 2023-11-16 20:57:21 -05:00
8b5fb17603 More tests 2023-11-16 16:00:03 -05:00
301196352a Misc refactoring 2023-11-16 13:00:02 -05:00
1fc6e8f75f Fix logic error that breaks everything 2023-11-16 11:20:30 -05:00
f966ebf4ac Move some things around to more logical places, attempt to set up an error log file 2023-11-16 11:10:33 -05:00
a4ef630c7b CLeanup entry file 2023-11-15 08:32:25 -05:00
d5ce04fe8b Basic file opening and display. Off-by-one bug skipping first line, though 2023-11-14 15:53:45 -05:00
816295ff9c Preparing for file reading/writing 2023-11-13 15:33:56 -05:00
4296930dae Start of documents 2023-11-13 14:46:04 -05:00
8bb3018e84 Minor reformatting tweak 2023-11-10 19:40:05 -05:00
3f1326ebd0 Add PageUp, PageDown, Home, and End input handling 2023-11-10 19:17:36 -05:00
61d222a9af Finally get the terminal size via ansi codes for bun 2023-11-10 18:22:09 -05:00
1723219452 Move the cursor 2023-11-10 08:36:18 -05:00
c5e7d6e209 Get the padding on the welcome message just right 2023-11-09 13:08:00 -05:00
88ba42df0d More refactoring 2023-11-09 12:32:41 -05:00
abee0a80bf First output of welcome message 2023-11-09 12:05:30 -05:00
7eb07520ae Get terminal size for bun runtime via tput 2023-11-09 10:46:12 -05:00
b980996a5e Some reorganization 2023-11-08 18:07:34 -05:00
d99656de66 Implement methods to get current console size 2023-11-08 17:02:59 -05:00
9cca55b101 Extract common interfaces out of runtime-specific adapters 2023-11-08 15:53:14 -05:00
8155f4dc73 Setup basic terminal output for Bun runtime 2023-11-08 12:45:04 -05:00
f238b162f6 Setup basic terminal output for Deno 2023-11-08 11:11:19 -05:00
e3083b1743 Move main fn back to common module 2023-11-08 08:02:03 -05:00
ce1d5e2cb2 Some more refactoring 2023-11-06 18:49:29 -05:00
71ad718b6d Wrap runtime stdin loops in a generator 2023-11-06 15:36:41 -05:00
19e44261a4 Refactor to prepare for implementing input and output streams to the terminal 2023-11-03 12:26:09 -04:00
2fcfe4328c Cross-runtime testing 2023-11-03 11:59:58 -04:00
7dcd42da13 Set up basic ascii parsing and display 2023-11-02 13:06:48 -04:00
4854796168 Make code formatting more consistent 2023-11-01 15:27:31 -04:00
4a8047a6d4 Refactor raw mode handling 2023-11-01 15:25:52 -04:00
b30c4d40d6 Get raw mode working in Deno 2023-11-01 15:05:31 -04:00
52632ad9a9 Get raw mode fulling working for bun. 2023-11-01 14:00:40 -04:00
db83982d91 Getting into raw mode works with bun...not yet returning to normal mode 2023-10-31 17:38:15 -04:00
103cd1ecf6 Set up basic functionality for bun 2023-10-31 14:47:59 -04:00
fba91bde10 Rough start to Deno runtime implemenation 2023-10-27 16:02:54 -04:00
fdb1097a9c Add first code file 2023-10-27 12:11:48 -04:00