aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_curses.rb
Commit message (Collapse)AuthorAgeFilesLines
* Send input after curses is ready or raise errornaruse2013-04-131-0/+6
| | | | | | | | On Linux, ncurses's initscr aborts with showing "Error opening terminal: unknown.". This fix can catch the error message. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Explictly flush stdionaruse2013-04-101-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_curses.rb: add sentinelnobu2013-04-081-1/+3
| | | | | | | | * test/test_curses.rb (TestCurses#run_curses): add sentinel to get rid of read pty output after the child process terminated, which causes EIO on Linux. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* curses.c: fix functionnobu2013-04-051-0/+6
| | | | | | | * ext/curses/curses.c (Init_curses): fix implementation function, crmode should be same as cbreak. [ruby-core:54013] [Bug #8222] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/test_curses.rb: tests for getch.nobu2013-04-051-0/+42
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/test_curses.rb: new file.akr2012-02-231-0/+12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e