Method: Ncurses::IWindow#getch
- Defined in:
- lib/ektoplayer/icurses/ncurses.rb
#getch ⇒ Object
11 12 13 14 15 16 17 |
# File 'lib/ektoplayer/icurses/ncurses.rb', line 11 def getch return Ncurses::wgetch(self) y, x = Ncurses::getcury(self), Ncurses::getcurx(self) c = Ncurses::wgetch(self) Ncurses::wmove(self, y, x) c end |