Skip to content
This repository has been archived by the owner on Aug 29, 2018. It is now read-only.

Bug 979992 - Support 'y'/'n' as single character options when interactive #425

Conversation

smarterclayton
Copy link
Contributor

Fix non-interactive stty behavior. Keep backwards compatibility of agree for
anyone in non-interactive mode. Also change "success" on app create to "done"
to be consistent.

@liggitt review

Fix non-interactive stty behavior. Keep backwards compatibility of agree for anyone in non-interactive mode.  Also change "success" on app create to "done" to be consistent.
@@ -15,6 +15,17 @@ class HighLineExtension < HighLine
end
end

if HighLine::CHARACTER_MODE == 'stty'
def raw_no_echo_mode
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need to protect against double calls for these?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a direct copy from highline - their code has ensure blocks and we've never hit a problem. Your call on whether you think it's necessary.

@liggitt
Copy link
Contributor

liggitt commented Jul 9, 2013

reviewed, [merge]

@openshift-bot
Copy link

Online Merge Results: SUCCESS (https://ci.dev.openshift.redhat.com/jenkins/job/test_pull_requests/3369/) (Image: devenv_3470)

@openshift-bot
Copy link

Evaluated for online up to 4d85213

@openshift-bot
Copy link

[Test]ing while waiting on the merge queue

@openshift-bot
Copy link

openshift-bot pushed a commit that referenced this pull request Jul 9, 2013
…ing_for_non_interactive

Merged by openshift-bot
@openshift-bot openshift-bot merged commit ecd8747 into openshift:master Jul 9, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants