Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
ba7bf76
prompt: read stdin byte-at-a-time so bytes past the newline stay in t…
robobun Jul 29, 2026
515cf71
review: drop now-dead buffered_stdin_reader alias; stdout:ignore in t…
robobun Jul 29, 2026
b1c7ab3
shorten reader comment
robobun Jul 29, 2026
9d9d33f
test: cover CRLF and empty-answer prompt() delimiter paths
robobun Jul 29, 2026
9b150fd
docs: update stdin_reader/buffered_stdin caller lists
robobun Jul 29, 2026
e6fda9b
Merge remote-tracking branch 'origin/main' into farm/199b35cb/prompt-…
robobun Sep 12, 2026
ff11dbc
confirm: drain a rejected answer through its newline, not to the firs…
robobun Sep 12, 2026
f6e823b
Merge remote-tracking branch 'origin/main' into farm/199b35cb/prompt-…
robobun Oct 24, 2026
1d7ce15
Merge remote-tracking branch 'origin/main' into farm/199b35cb/prompt-…
robobun Oct 24, 2026
99bedc7
Read stdin one line at a time in every dialog and delete BufferedStdin
robobun Oct 24, 2026
059c392
Keep the new comments to one line and format the tests
robobun Oct 24, 2026
86380cc
Read a terminal in line mode and a regular file in blocks
robobun Oct 24, 2026
625ac08
Test the scanner question on a terminal and keep stderr in the OTP test
robobun Oct 24, 2026
e3becf5
Check for queued raw-mode input on Linux only
robobun Oct 24, 2026
4d27762
Read the rest of a file stdin with fs on Windows in the dialog tests
robobun Oct 25, 2026
063d9fb
Read a regular-file stdin through the bun_sys wrappers
robobun Oct 25, 2026
358ef5d
Move the offset of a file stdin at the end of the line and report a f…
robobun Oct 25, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/bun_core/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -596,6 +596,9 @@ bun_dispatch::link_interface! {
fn tty_winsize(fd: Fd) -> Option<Winsize>;
fn is_terminal(fd: Fd) -> bool;
fn read(fd: Fd, buf: &mut [u8]) -> core::result::Result<usize, Error>;
fn pread(fd: Fd, buf: &mut [u8], offset: i64) -> core::result::Result<usize, Error>;
fn lseek(fd: Fd, offset: i64, whence: i32) -> core::result::Result<i64, Error>;
fn is_regular_file(fd: Fd) -> bool;
}
}

Expand Down
Loading
Loading