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

Extended NCApplication::runInTerminal for RSpec #35

Merged
merged 3 commits into from Jul 8, 2015

Conversation

mvidner
Copy link
Member

@mvidner mvidner commented Jul 3, 2015

Support for yast/yast-journal#15, boo#937026
Cc: @ancorgs @shundhammer

Yes, it is an abuse of the API. A proper fix means adding a new API to this package and to https://github.com/libyui/libyui and to https://github.com/yast/yast-ycp-ui-bindings so I want to see whether it helps at all before touching more packages.

Actually RSpec is just an example.
runInTerminal("#open_ncurses") paired with
runInTerminal("#close_ncurses") will do just the respective halves,
allowing non-ncurses code access stdout afterwards.
@mvidner
Copy link
Member Author

mvidner commented Jul 8, 2015

I am moving this functionality into Yast::UI.OpenUI/CloseUI -> YApplication::openUI/closeUI() -> NCApplication::openUI/closeUI()

Reverting the hack with runInTerminal.
@jreidinger
Copy link
Member

LGTM

mvidner added a commit that referenced this pull request Jul 8, 2015
Added NCApplication::openUI/closeUI (boo#937026).
@mvidner mvidner merged commit 24511f9 into master Jul 8, 2015
@mvidner mvidner deleted the terminal-open-close branch July 8, 2015 15:27
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.

None yet

3 participants