Commit Graph

35 Commits

Author SHA1 Message Date
Timothy Warren ab42873182 Remove buggy FFI implementation in favor of Node API (implemented by Bun and Deno)
timw4mail/scroll/pipeline/head This commit looks good Details
2024-03-01 11:06:47 -05:00
Timothy Warren cd448f74d6 Fix some issues with search functionality
timw4mail/scroll/pipeline/head This commit looks good Details
2024-02-29 13:51:45 -05:00
Timothy Warren f19fc1d2e0 Slight FFI tweaks to make deno less crashy on macos 2024-01-11 11:08:48 -05:00
Timothy Warren f5599b5192 Implement basic searching 2023-11-30 16:14:52 -05:00
Timothy Warren 32e4030a4a Add logging for various FFI/Termios tasks 2023-11-30 11:46:25 -05:00
Timothy Warren 02be6a133c Refactor everything again 2023-11-29 16:09:58 -05:00
Timothy Warren 9711202c3b Fix crash on macOS 2023-11-29 14:55:57 -05:00
Timothy Warren 8ee17f4eef Fix prompt in deno, but break in bun :( 2023-11-27 15:05:48 -05:00
Timothy Warren 4d54d4bf8a Attempt to fix deno prompt 2023-11-27 11:07:26 -05:00
Timothy Warren 820d383c3a Get parsed keypresses from input loop 2023-11-24 08:31:51 -05:00
Timothy Warren 5cd59ba943 Require confirmation for quitting a 'dirty' document 2023-11-22 11:27:46 -05:00
Timothy Warren 95c979066a Add text insertion 2023-11-21 15:14:08 -05:00
Timothy Warren 4df0c70c32 Add PageUp/PageDown and Home/End scrolling 2023-11-20 15:14:36 -05:00
Timothy Warren a1aa189e11 And a bit more test refactoring and cleanup 2023-11-16 21:22:24 -05:00
Timothy Warren 2aaf1c678b Refactor tests to be consistent for both runtimes 2023-11-16 20:57:21 -05:00
Timothy Warren 8b5fb17603 More tests 2023-11-16 16:00:03 -05:00
Timothy Warren 301196352a Misc refactoring 2023-11-16 13:00:02 -05:00
Timothy Warren 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
Timothy Warren 816295ff9c Preparing for file reading/writing 2023-11-13 15:33:56 -05:00
Timothy Warren 61d222a9af Finally get the terminal size via ansi codes for bun 2023-11-10 18:22:09 -05:00
Timothy Warren b980996a5e Some reorganization 2023-11-08 18:07:34 -05:00
Timothy Warren d99656de66 Implement methods to get current console size 2023-11-08 17:02:59 -05:00
Timothy Warren 9cca55b101 Extract common interfaces out of runtime-specific adapters 2023-11-08 15:53:14 -05:00
Timothy Warren f238b162f6 Setup basic terminal output for Deno 2023-11-08 11:11:19 -05:00
Timothy Warren ce1d5e2cb2 Some more refactoring 2023-11-06 18:49:29 -05:00
Timothy Warren 71ad718b6d Wrap runtime stdin loops in a generator 2023-11-06 15:36:41 -05:00
Timothy Warren 19e44261a4 Refactor to prepare for implementing input and output streams to the terminal 2023-11-03 12:26:09 -04:00
Timothy Warren 2fcfe4328c Cross-runtime testing 2023-11-03 11:59:58 -04:00
Timothy Warren 7dcd42da13 Set up basic ascii parsing and display 2023-11-02 13:06:48 -04:00
Timothy Warren 4854796168 Make code formatting more consistent 2023-11-01 15:27:31 -04:00
Timothy Warren 4a8047a6d4 Refactor raw mode handling 2023-11-01 15:25:52 -04:00
Timothy Warren b30c4d40d6 Get raw mode working in Deno 2023-11-01 15:05:31 -04:00
Timothy Warren 52632ad9a9 Get raw mode fulling working for bun. 2023-11-01 14:00:40 -04:00
Timothy Warren db83982d91 Getting into raw mode works with bun...not yet returning to normal mode 2023-10-31 17:38:15 -04:00
Timothy Warren fba91bde10 Rough start to Deno runtime implemenation 2023-10-27 16:02:54 -04:00