module Cantrip

Overview

TODO Write documentation for Ncurses

Extended Modules

Defined in:

ncurses.cr

Instance Method Summary

Instance Method Detail

def character_mode #

Enter character input mode. Convenience function to invoke the common sequence of LibCurses.cbreak and LibCurses.noecho


[View source]
def main #

[View source]
def start #

Start cantrip. Wraps LibCurses.initscr functions to enter curses mode. Sets a number of module class variables to manage overall state. @@main_window stores the main window reference returned by LibCurses.


[View source]
def stop #

Stops cantrip. Wrapper around LibCurses.endwin.


[View source]