Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Optionally) Stream sampled text #74

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ChrisCummins
Copy link
Collaborator

This patch takes the sampled text streaming from pull request #8 by @maraoz and wraps it behind an optional -stream flag. If set to 1 (default value: 0), sampled text is printed character by character, rather than being buffered into a string and printed in one shot. The default behaviour of stream.lua is unaffected.

This patch adds a flag '-stream' to the sample.lua script which allows
users to disable buffering of sampled text. If set to 1, sampled output
will be printed character by character.

Based on a patch by Manuel Araoz <[email protected]>

    From: Manuel Araoz <[email protected]>
    Date: Wed, 17 Feb 2016 11:15:42 +0000
    Subject: [PATCH] Stream sampled text
    maraoz@0efbc00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant