Module Raggle::Interfaces::NcursesInterface
In: raggle  (CVS)

NcursesInterface - methods and classes specific to the Ncurses interface of Raggle.

Methods

Classes and Modules

Module Raggle::Interfaces::NcursesInterface::Key
Class Raggle::Interfaces::NcursesInterface::ListWindow
Class Raggle::Interfaces::NcursesInterface::TextWindow
Class Raggle::Interfaces::NcursesInterface::Window

Constants

DIRECTION_BACKWARD = -1
DIRECTION_FORWARD = 1

Public Class methods

add a new feed from ncurses

drop to sub-shell

edit the current feed’s options

search for feeds from ncurses

get input from the user via the status line

Formats info about key bindings into a hash

get window id by key

Go to last selected window (that exists)

handle mouse events

initialize Ncurses interface

main input loop for Ncurses interface

mark current item as unread

mark all items in feed as read

mark all items in feed as unread

open an item’s url in Ncurses mode

populate feed window

populate item window

terminal resize handler

restore saved screen settings

save bookmark for current item

save screen mode, drop out of ncurses

select the specified category

set active feed by id

set active item by id in feeds list

set active item by id in item window list

select next unread item

select previous unread item

Select next unread item in direction direction. Direction can be either DIRECTION_FORWARD or DIRECTION_BACKWARD

set active window

set status bar message (or log message, if running as daemon)

[Validate]