NCurses library

Documentation for TextUserInterfaces.NCurses.

TextUserInterfaces.NCurses.COLSMethod
COLS()

Return the number of columns in the root window. It must be called after initscr().

For more information, consult libncurses documentation.

source
TextUserInterfaces.NCurses.LINESMethod
LINES()

Return the number of lines in the root window. It must be called after initscr().

For more information, consult libncurses documentation.

source
TextUserInterfaces.NCurses.boxMethod
box(win::Ptr{WINDOW}, verch::T, horch::T) where T<:jlchtype

Return type: Nothing

For more information, consult libncurses documentation.

source
TextUserInterfaces.NCurses.copywinMethod
copywin(scr::Ptr{WINDOW}, dest::Ptr{WINDOW}, sminrow::T, smincol::T, dminrow::T, dmincol::T, dmaxrow::T, dmaxcol::T, overlay::T) where T<:Integer

Return type: Int32

For more information, consult libncurses documentation.

source
TextUserInterfaces.NCurses.derwinMethod
derwin(win::Ptr{WINDOW}, nlines::T, ncols::T, begin_y::T, begin_x::T) where T<:Integer

Return type: Ptr{TextUserInterfaces.NCurses.WINDOW}

For more information, consult libncurses documentation.

source
TextUserInterfaces.NCurses.load_ncursesMethod
load_ncurses([dir::String])

Load ncurses libraries at directory dir. If it is omitted or if it is empty, then the bundled Ncurses version in the package Ncurses_jll will be used.

source
TextUserInterfaces.NCurses.mvwhlineMethod
mvwhline(win::Ptr{WINDOW}, y::Ti, x::Ti, ch::Tc, n::Ti) where {Tc<:jlchtype,Ti<:Integer}

Return type: Int32

For more information, consult libncurses documentation.

source
TextUserInterfaces.NCurses.mvwprintwMethod
mvwprintw(win::Ptr{WINDOW}, y::Ti, x::Ti, str::Ts) where {Ti<:Integer,Ts<:AbstractString}

Return type: Nothing

For more information, consult libncurses documentation.

source
TextUserInterfaces.NCurses.mvwvlineMethod
mvwvline(win::Ptr{WINDOW}, y::Ti, x::Ti, ch::Tc, n::Ti) where {Tc<:jlchtype,Ti<:Integer}

Return type: Int32

For more information, consult libncurses documentation.

source
TextUserInterfaces.NCurses.newpadMethod
newpad(lines::T, cols::T) where T<:Integer

Return type: Ptr{TextUserInterfaces.NCurses.WINDOW}

For more information, consult libncurses documentation.

source
TextUserInterfaces.NCurses.newwinMethod
newwin(lines::T, cols::T, y::T, x::T) where T<:Integer

Return type: Ptr{TextUserInterfaces.NCurses.WINDOW}

For more information, consult libncurses documentation.

source
TextUserInterfaces.NCurses.pnoutrefreshMethod
pnoutrefresh(win::Ptr{WINDOW}, pminrow::T, pmincol::T, sminrow::T, smincol::T, smaxrow::T, smaxcol::T) where T<:Integer

Return type: Int32

For more information, consult libncurses documentation.

source
TextUserInterfaces.NCurses.prefreshMethod
prefresh(win::Ptr{WINDOW}, pminrow::T, pmincol::T, sminrow::T, smincol::T, smaxrow::T, smaxcol::T) where T<:Integer

Return type: Int32

For more information, consult libncurses documentation.

source
TextUserInterfaces.NCurses.set_field_typeMethod
set_field_type(field::Ptr{Cvoid}, type::Ptr{Cvoid}, padding::T, vmin::Float64, vmax::Float64) where T<:Integer

Return type: Int32

For more information, consult libform documentation.

source
TextUserInterfaces.NCurses.set_field_typeMethod
set_field_type(field::Ptr{Cvoid}, type::Ptr{Cvoid}, valuelist::Vector, checkcase::T, checkunique::T) where T<:Integer

Return type: Int32

For more information, consult libform documentation.

source
TextUserInterfaces.NCurses.subpadMethod
subpad(win::Ptr{WINDOW}, nlines::T, ncols::T, begin_y::T, begin_x::T) where T<:Integer

Return type: Ptr{TextUserInterfaces.NCurses.WINDOW}

For more information, consult libncurses documentation.

source
TextUserInterfaces.NCurses.wborderMethod
wborder(win::Ptr{WINDOW}, ls::T, rs::T, ts::T, bs::T, tl::T, tr::T, bl::T, br::T) where T<:jlchtype

Return type: Nothing

For more information, consult libncurses documentation.

source
TextUserInterfaces.NCurses.whlineMethod
whline(win::Ptr{WINDOW}, ch::Tc, n::Ti) where {Tc<:jlchtype,Ti<:Integer}

Return type: Int32

For more information, consult libncurses documentation.

source
TextUserInterfaces.NCurses.wvlineMethod
wvline(win::Ptr{WINDOW}, ch::Tc, n::Ti) where {Tc<:jlchtype,Ti<:Integer}

Return type: Int32

For more information, consult libncurses documentation.

source
TextUserInterfaces.NCurses.@_ccallfMacro
@_ccallf expr

Make a ccall to a libform function. The usage should be:

@_ccallf function(arg1::Type1, arg2::Type2, ...)::TypeReturn

It uses the global constant structure ncurses to call the function. Hence, it must be initialized.

source
TextUserInterfaces.NCurses.@_ccallmMacro
@_ccallm expr

Make a ccall to a libmenu function. The usage should be:

@_ccallm function(arg1::Type1, arg2::Type2, ...)::TypeReturn

It uses the global constant structure ncurses to call the function. Hence, it must be initialized.

source
TextUserInterfaces.NCurses.@_ccallnMacro
@_ccalln expr

Make a ccall to a libncurses function. The usage should be:

@_ccalln function(arg1::Type1, arg2::Type2, ...)::TypeReturn

It uses the global constant structure ncurses to call the function. Hence, it must be initialized.

source
TextUserInterfaces.NCurses.@_ccallpMacro
@_ccallm expr

Make a ccall to a libpanel function. The usage should be:

@_ccallm function(arg1::Type1, arg2::Type2, ...)::TypeReturn

It uses the global constant structure ncurses to call the function. Hence, it must be initialized.

source