Commit Graph

21 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
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
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
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
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
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