Commit Graph

36 Commits

Author SHA1 Message Date
9d45cf9296 Use Node stdin API for Bun to allow basic functionality to work again
All checks were successful
timw4mail/scroll/pipeline/head This commit looks good
2024-03-01 11:28:34 -05:00
ab42873182 Remove buggy FFI implementation in favor of Node API (implemented by Bun and Deno)
All checks were successful
timw4mail/scroll/pipeline/head This commit looks good
2024-03-01 11:06:47 -05:00
f19fc1d2e0 Slight FFI tweaks to make deno less crashy on macos 2024-01-11 11:08:48 -05:00
15496646d6 Minor refactoring, build up the ansi escape codes to handle colors 2024-01-10 15:44:19 -05:00
30230520a0 Remove redundant write function in Bun terminal_io implementation 2024-01-09 10:52:11 -05:00
f5599b5192 Implement basic searching 2023-11-30 16:14:52 -05:00
02be6a133c Refactor everything again 2023-11-29 16:09:58 -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
820d383c3a Get parsed keypresses from input loop 2023-11-24 08:31:51 -05:00
95c979066a Add text insertion 2023-11-21 15:14:08 -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
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
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
61d222a9af Finally get the terminal size via ansi codes for bun 2023-11-10 18:22:09 -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
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
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