Files
bun.sh/src/cli/repl_command.zig
Claude Bot 3e55d2b19e fix(repl): address CodeRabbit review comments
1. Fix blank line handling in readLineSimple - blank lines in piped input
   are now treated as valid input instead of EOF. Only return null when
   a true EOF is encountered with no pending data.

2. Replace std.fs.path.join with bun.path.join in saveHistory for
   cross-platform path construction.

3. Fix enterEditorMode to use cross-platform APIs - replace
   std.posix.STDIN_FILENO and std.posix.read with bun.FileDescriptor.stdin()
   and bun.sys.read() for Windows compatibility.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-20 22:49:41 +00:00

62 KiB