Skip to content

Implement line vs character buffering on stdin#309

Merged
ianthomas23 merged 2 commits intomainfrom
line-buffering2
Apr 24, 2026
Merged

Implement line vs character buffering on stdin#309
ianthomas23 merged 2 commits intomainfrom
line-buffering2

Conversation

@ianthomas23
Copy link
Copy Markdown
Member

Support line buffering on stdin. This is needed for git2cpp commit messages, amongst other things. Note that this is the default behaviour of stdin unless termios settings are changed, hence many of the stdin tests have changed.

Really this is a workaround, the correct fix is to fully implement all of termios.

less tests are disabled now as there are multiple problems with less that I will fix separately.

@ianthomas23 ianthomas23 added the enhancement New feature or request label Apr 24, 2026
@ianthomas23 ianthomas23 merged commit 7efaedf into main Apr 24, 2026
8 checks passed
@ianthomas23 ianthomas23 deleted the line-buffering2 branch April 24, 2026 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant