![]() |
Notcurses 3.0.13
a blingful library for TUIs and character graphics
|
#include "linux.h"
#include "version.h"
#include "egcpool.h"
#include "internal.h"
#include <time.h>
#include <fcntl.h>
#include <errno.h>
#include <stdio.h>
#include <limits.h>
#include <string.h>
#include <unistd.h>
#include <stdlib.h>
#include <unistr.h>
#include <locale.h>
#include <uniwbrk.h>
#include <inttypes.h>
#include "compat/compat.h"
#include "unixsig.h"
#include "banner.h"
Go to the source code of this file.
Macros | |
#define | ESC "\x1b" |
#define | TABSTOP 8 |
#define | PTHREAD_MUTEX_RECURSIVE_NP PTHREAD_MUTEX_RECURSIVE |
Functions | |
void | notcurses_version_components (int *major, int *minor, int *patch, int *tweak) |
int | notcurses_enter_alternate_screen (notcurses *nc) |
int | notcurses_leave_alternate_screen (notcurses *nc) |
int | reset_term_attributes (const tinfo *ti, fbuf *f) |
int | reset_term_palette (const tinfo *ti, fbuf *f, unsigned touchedpalette) |
const char * | notcurses_version (void) |
void * | ncplane_set_userptr (ncplane *n, void *opaque) |
void * | ncplane_userptr (ncplane *n) |
const void * | ncplane_userptr_const (const ncplane *n) |
char * | ncplane_at_cursor (const ncplane *n, uint16_t *stylemask, uint64_t *channels) |
char * | ncplane_at_yx (const ncplane *n, int y, int x, uint16_t *stylemask, uint64_t *channels) |
int | ncplane_at_cursor_cell (ncplane *n, nccell *c) |
int | ncplane_at_yx_cell (ncplane *n, int y, int x, nccell *c) |
void | ncplane_dim_yx (const ncplane *n, unsigned *rows, unsigned *cols) |
int | update_term_dimensions (unsigned *rows, unsigned *cols, tinfo *tcache, int margin_b, unsigned *cgeo_changed, unsigned *pgeo_changed) |
void | free_plane (ncplane *p) |
__attribute__ ((malloc)) | |
ncplane * | ncplane_new_internal (notcurses *nc, ncplane *n, const ncplane_options *nopts) |
ncplane * | notcurses_stdplane (notcurses *nc) |
const ncplane * | notcurses_stdplane_const (const notcurses *nc) |
ncplane * | ncplane_create (ncplane *n, const ncplane_options *nopts) |
ncplane * | ncpile_create (notcurses *nc, const struct ncplane_options *nopts) |
void | ncplane_home (ncplane *n) |
int | ncplane_cursor_move_yx (ncplane *n, int y, int x) |
int | ncplane_cursor_move_rel (ncplane *n, int y, int x) |
ncplane * | ncplane_dup (const ncplane *n, void *opaque) |
int | resize_callbacks_children (ncplane *n) |
int | ncplane_resize_internal (ncplane *n, int keepy, int keepx, unsigned keepleny, unsigned keeplenx, int yoff, int xoff, unsigned ylen, unsigned xlen) |
int | ncplane_resize (ncplane *n, int keepy, int keepx, unsigned keepleny, unsigned keeplenx, int yoff, int xoff, unsigned ylen, unsigned xlen) |
int | ncplane_destroy (ncplane *ncp) |
int | ncplane_destroy_family (ncplane *ncp) |
void | init_lang (void) |
ncpixelimpl_e | notcurses_check_pixel_support (const notcurses *nc) |
__attribute__ ((nonnull(2))) | |
notcurses * | notcurses_core_init (const notcurses_options *opts, FILE *outfp) |
void | notcurses_drop_planes (notcurses *nc) |
int | notcurses_stop (notcurses *nc) |
uint64_t | ncplane_channels (const ncplane *n) |
void | ncplane_set_channels (ncplane *n, uint64_t channels) |
uint16_t | ncplane_styles (const ncplane *n) |
void | ncplane_set_fg_default (ncplane *n) |
void | ncplane_set_bg_default (ncplane *n) |
void | ncplane_set_bg_rgb8_clipped (ncplane *n, int r, int g, int b) |
int | ncplane_set_bg_rgb8 (ncplane *n, unsigned r, unsigned g, unsigned b) |
void | ncplane_set_fg_rgb8_clipped (ncplane *n, int r, int g, int b) |
int | ncplane_set_fg_rgb8 (ncplane *n, unsigned r, unsigned g, unsigned b) |
int | ncplane_set_fg_rgb (ncplane *n, unsigned channel) |
uint64_t | ncplane_set_bchannel (ncplane *n, uint32_t channel) |
uint64_t | ncplane_set_fchannel (ncplane *n, uint32_t channel) |
int | ncplane_set_bg_rgb (ncplane *n, unsigned channel) |
int | ncplane_set_fg_alpha (ncplane *n, int alpha) |
int | ncplane_set_bg_alpha (ncplane *n, int alpha) |
int | ncplane_set_fg_palindex (ncplane *n, unsigned idx) |
int | ncplane_set_bg_palindex (ncplane *n, unsigned idx) |
int | ncplane_set_base_cell (ncplane *ncp, const nccell *c) |
int | ncplane_set_base (ncplane *ncp, const char *egc, uint16_t stylemask, uint64_t channels) |
int | ncplane_base (ncplane *ncp, nccell *c) |
const char * | nccell_extended_gcluster (const ncplane *n, const nccell *c) |
int | ncplane_move_above (ncplane *restrict n, ncplane *restrict above) |
int | ncplane_move_below (ncplane *restrict n, ncplane *restrict below) |
int | ncplane_move_family_above (ncplane *restrict n, ncplane *restrict bpoint) |
int | ncplane_move_family_below (ncplane *restrict n, ncplane *restrict bpoint) |
void | ncplane_cursor_yx (const ncplane *n, unsigned *y, unsigned *x) |
void | scroll_down (ncplane *n) |
int | ncplane_scrollup (ncplane *n, int r) |
int | ncplane_scrollup_child (ncplane *n, const ncplane *child) |
int | nccell_load (ncplane *n, nccell *c, const char *gcluster) |
int | ncplane_putc_yx (ncplane *n, int y, int x, const nccell *c) |
int | ncplane_putegc_yx (ncplane *n, int y, int x, const char *gclust, size_t *sbytes) |
int | ncplane_putchar_stained (ncplane *n, char c) |
int | ncplane_putwegc_stained (ncplane *n, const wchar_t *gclust, size_t *sbytes) |
int | ncplane_putegc_stained (ncplane *n, const char *gclust, size_t *sbytes) |
int | ncplane_cursor_at (const ncplane *n, nccell *c, char **gclust) |
uint16_t | notcurses_supported_styles (const notcurses *nc) |
unsigned | notcurses_palette_size (const notcurses *nc) |
char * | notcurses_detected_terminal (const notcurses *nc) |
void | ncplane_set_styles (ncplane *n, unsigned stylebits) |
void | ncplane_on_styles (ncplane *n, unsigned stylebits) |
void | ncplane_off_styles (ncplane *n, unsigned stylebits) |
char * | ncplane_vprintf_prep (const char *format, va_list ap) |
int | ncplane_vprintf_yx (ncplane *n, int y, int x, const char *format, va_list ap) |
int | ncplane_vprintf_aligned (ncplane *n, int y, ncalign_e align, const char *format, va_list ap) |
int | ncplane_vprintf_stained (struct ncplane *n, const char *format, va_list ap) |
int | ncplane_putnstr_aligned (struct ncplane *n, int y, ncalign_e align, size_t s, const char *str) |
int | ncplane_hline_interp (ncplane *n, const nccell *c, unsigned len, uint64_t c1, uint64_t c2) |
int | ncplane_vline_interp (ncplane *n, const nccell *c, unsigned len, uint64_t c1, uint64_t c2) |
int | ncplane_box (ncplane *n, const nccell *ul, const nccell *ur, const nccell *ll, const nccell *lr, const nccell *hl, const nccell *vl, unsigned ystop, unsigned xstop, unsigned ctlword) |
int | ncplane_move_yx (ncplane *n, int y, int x) |
int | ncplane_y (const ncplane *n) |
int | ncplane_x (const ncplane *n) |
void | ncplane_yx (const ncplane *n, int *y, int *x) |
void | ncplane_erase (ncplane *n) |
int | ncplane_erase_region (ncplane *n, int ystart, int xstart, int ylen, int xlen) |
ncplane * | ncpile_top (ncplane *n) |
ncplane * | ncpile_bottom (ncplane *n) |
ncplane * | ncplane_below (ncplane *n) |
ncplane * | ncplane_above (ncplane *n) |
int | notcurses_mice_enable (notcurses *n, unsigned eventmask) |
ncpalette * | ncpalette_new (notcurses *nc) |
int | ncpalette_use (notcurses *nc, const ncpalette *p) |
void | ncpalette_free (ncpalette *p) |
bool | ncplane_translate_abs (const ncplane *n, int *restrict y, int *restrict x) |
void | ncplane_translate (const ncplane *src, const ncplane *dst, int *restrict y, int *restrict x) |
notcurses * | ncplane_notcurses (const ncplane *n) |
const notcurses * | ncplane_notcurses_const (const ncplane *n) |
int | ncplane_abs_y (const ncplane *n) |
int | ncplane_abs_x (const ncplane *n) |
void | ncplane_abs_yx (const ncplane *n, int *RESTRICT y, int *RESTRICT x) |
ncplane * | ncplane_parent (ncplane *n) |
const ncplane * | ncplane_parent_const (const ncplane *n) |
int | ncplane_set_name (ncplane *n, const char *name) |
char * | ncplane_name (const ncplane *n) |
void | ncplane_set_resizecb (ncplane *n, int(*resizecb)(ncplane *)) |
int | ncplane_resize_placewithin (ncplane *n) |
int | ncplane_resize_marginalized (ncplane *n) |
int | ncplane_resize_maximize (ncplane *n) |
int | ncplane_resize_realign (ncplane *n) |
ncplane * | ncplane_reparent (ncplane *n, ncplane *newparent) |
ncplane * | ncplane_reparent_family (ncplane *n, ncplane *newparent) |
bool | ncplane_set_scrolling (ncplane *n, unsigned scrollp) |
bool | ncplane_scrolling_p (const ncplane *n) |
bool | ncplane_set_autogrow (ncplane *n, unsigned growp) |
bool | ncplane_autogrow_p (const ncplane *n) |
int | notcurses_lex_scalemode (const char *op, ncscale_e *scalemode) |
const char * | notcurses_str_scalemode (ncscale_e scalemode) |
int | notcurses_lex_margins (const char *op, notcurses_options *opts) |
int | notcurses_inputready_fd (notcurses *n) |
int | ncdirect_inputready_fd (ncdirect *n) |
uint32_t * | ncplane_as_rgba (const ncplane *nc, ncblitter_e blit, int begy, int begx, unsigned leny, unsigned lenx, unsigned *pxdimy, unsigned *pxdimx) |
char * | ncplane_contents (ncplane *nc, int begy, int begx, unsigned leny, unsigned lenx) |
void | ncplane_center_abs (const ncplane *n, int *RESTRICT y, int *RESTRICT x) |
int | ncplane_putwstr_stained (ncplane *n, const wchar_t *gclustarr) |
int | notcurses_ucs32_to_utf8 (const uint32_t *ucs32, unsigned ucs32count, unsigned char *resultbuf, size_t buflen) |
int | ncstrwidth (const char *egcs, int *validbytes, int *validwidth) |
void | ncplane_pixel_geom (const ncplane *n, unsigned *RESTRICT pxy, unsigned *RESTRICT pxx, unsigned *RESTRICT celldimy, unsigned *RESTRICT celldimx, unsigned *RESTRICT maxbmapy, unsigned *RESTRICT maxbmapx) |
const nccapabilities * | notcurses_capabilities (const notcurses *n) |
Variables | |
int(*)(ncplane *) | ncplane_resizecb (const ncplane *n) |
#define ESC "\x1b" |
Definition at line 21 of file notcurses.c.
#define PTHREAD_MUTEX_RECURSIVE_NP PTHREAD_MUTEX_RECURSIVE |
#define TABSTOP 8 |
Definition at line 22 of file notcurses.c.
__attribute__ | ( | (malloc) | ) |
Definition at line 501 of file notcurses.c.
__attribute__ | ( | (nonnull(2)) | ) |
Definition at line 1169 of file notcurses.c.
void free_plane | ( | ncplane * | p | ) |
Definition at line 464 of file notcurses.c.
void init_lang | ( | void | ) |
Definition at line 1094 of file notcurses.c.
Definition at line 1573 of file notcurses.c.
Definition at line 1833 of file notcurses.c.
int ncdirect_inputready_fd | ( | ncdirect * | n | ) |
Definition at line 3095 of file notcurses.c.
void ncpalette_free | ( | ncpalette * | p | ) |
Definition at line 2586 of file notcurses.c.
Definition at line 2563 of file notcurses.c.
Definition at line 2571 of file notcurses.c.
ncplane * ncpile_create | ( | notcurses * | nc, |
const struct ncplane_options * | nopts | ||
) |
Definition at line 711 of file notcurses.c.
int ncplane_abs_x | ( | const ncplane * | n | ) |
int ncplane_abs_y | ( | const ncplane * | n | ) |
Definition at line 2642 of file notcurses.c.
uint32_t * ncplane_as_rgba | ( | const ncplane * | nc, |
ncblitter_e | blit, | ||
int | begy, | ||
int | begx, | ||
unsigned | leny, | ||
unsigned | lenx, | ||
unsigned * | pxdimy, | ||
unsigned * | pxdimx | ||
) |
Definition at line 3214 of file notcurses.c.
char * ncplane_at_cursor | ( | const ncplane * | n, |
uint16_t * | stylemask, | ||
uint64_t * | channels | ||
) |
Definition at line 210 of file notcurses.c.
Definition at line 266 of file notcurses.c.
char * ncplane_at_yx | ( | const ncplane * | n, |
int | y, | ||
int | x, | ||
uint16_t * | stylemask, | ||
uint64_t * | channels | ||
) |
Definition at line 214 of file notcurses.c.
Definition at line 270 of file notcurses.c.
bool ncplane_autogrow_p | ( | const ncplane * | n | ) |
Definition at line 3013 of file notcurses.c.
Definition at line 1569 of file notcurses.c.
int ncplane_box | ( | ncplane * | n, |
const nccell * | ul, | ||
const nccell * | ur, | ||
const nccell * | ll, | ||
const nccell * | lr, | ||
const nccell * | hl, | ||
const nccell * | vl, | ||
unsigned | ystop, | ||
unsigned | xstop, | ||
unsigned | ctlword | ||
) |
Definition at line 2271 of file notcurses.c.
uint64_t ncplane_channels | ( | const ncplane * | n | ) |
char * ncplane_contents | ( | ncplane * | nc, |
int | begy, | ||
int | begx, | ||
unsigned | leny, | ||
unsigned | lenx | ||
) |
Definition at line 3228 of file notcurses.c.
ncplane * ncplane_create | ( | ncplane * | n, |
const ncplane_options * | nopts | ||
) |
Definition at line 707 of file notcurses.c.
Definition at line 2044 of file notcurses.c.
int ncplane_cursor_move_rel | ( | ncplane * | n, |
int | y, | ||
int | x | ||
) |
Definition at line 750 of file notcurses.c.
int ncplane_cursor_move_yx | ( | ncplane * | n, |
int | y, | ||
int | x | ||
) |
Definition at line 720 of file notcurses.c.
void ncplane_cursor_yx | ( | const ncplane * | n, |
unsigned * | y, | ||
unsigned * | x | ||
) |
int ncplane_destroy | ( | ncplane * | ncp | ) |
Definition at line 1018 of file notcurses.c.
int ncplane_destroy_family | ( | ncplane * | ncp | ) |
Definition at line 1068 of file notcurses.c.
void ncplane_dim_yx | ( | const ncplane * | n, |
unsigned * | rows, | ||
unsigned * | cols | ||
) |
Definition at line 760 of file notcurses.c.
void ncplane_erase | ( | ncplane * | n | ) |
Definition at line 2458 of file notcurses.c.
int ncplane_erase_region | ( | ncplane * | n, |
int | ystart, | ||
int | xstart, | ||
int | ylen, | ||
int | xlen | ||
) |
Definition at line 2479 of file notcurses.c.
Definition at line 2153 of file notcurses.c.
void ncplane_home | ( | ncplane * | n | ) |
Definition at line 1581 of file notcurses.c.
Definition at line 1628 of file notcurses.c.
Definition at line 1674 of file notcurses.c.
Definition at line 1708 of file notcurses.c.
int ncplane_move_yx | ( | ncplane * | n, |
int | y, | ||
int | x | ||
) |
Definition at line 2411 of file notcurses.c.
char * ncplane_name | ( | const ncplane * | n | ) |
Definition at line 2669 of file notcurses.c.
ncplane * ncplane_new_internal | ( | notcurses * | nc, |
ncplane * | n, | ||
const ncplane_options * | nopts | ||
) |
Definition at line 557 of file notcurses.c.
void ncplane_off_styles | ( | ncplane * | n, |
unsigned | stylebits | ||
) |
Definition at line 2081 of file notcurses.c.
void ncplane_on_styles | ( | ncplane * | n, |
unsigned | stylebits | ||
) |
void ncplane_pixel_geom | ( | const ncplane * | n, |
unsigned *RESTRICT | pxy, | ||
unsigned *RESTRICT | pxx, | ||
unsigned *RESTRICT | celldimy, | ||
unsigned *RESTRICT | celldimx, | ||
unsigned *RESTRICT | maxbmapy, | ||
unsigned *RESTRICT | maxbmapx | ||
) |
Definition at line 3333 of file notcurses.c.
Definition at line 1980 of file notcurses.c.
int ncplane_putchar_stained | ( | ncplane * | n, |
char | c | ||
) |
int ncplane_putegc_stained | ( | ncplane * | n, |
const char * | gclust, | ||
size_t * | sbytes | ||
) |
int ncplane_putegc_yx | ( | ncplane * | n, |
int | y, | ||
int | x, | ||
const char * | gclust, | ||
size_t * | sbytes | ||
) |
Definition at line 1995 of file notcurses.c.
int ncplane_putnstr_aligned | ( | struct ncplane * | n, |
int | y, | ||
ncalign_e | align, | ||
size_t | s, | ||
const char * | str | ||
) |
Definition at line 2146 of file notcurses.c.
int ncplane_putwegc_stained | ( | ncplane * | n, |
const wchar_t * | gclust, | ||
size_t * | sbytes | ||
) |
int ncplane_putwstr_stained | ( | ncplane * | n, |
const wchar_t * | gclustarr | ||
) |
Definition at line 3278 of file notcurses.c.
Definition at line 2791 of file notcurses.c.
Definition at line 2913 of file notcurses.c.
int ncplane_resize | ( | ncplane * | n, |
int | keepy, | ||
int | keepx, | ||
unsigned | keepleny, | ||
unsigned | keeplenx, | ||
int | yoff, | ||
int | xoff, | ||
unsigned | ylen, | ||
unsigned | xlen | ||
) |
Definition at line 1006 of file notcurses.c.
int ncplane_resize_internal | ( | ncplane * | n, |
int | keepy, | ||
int | keepx, | ||
unsigned | keepleny, | ||
unsigned | keeplenx, | ||
int | yoff, | ||
int | xoff, | ||
unsigned | ylen, | ||
unsigned | xlen | ||
) |
Definition at line 854 of file notcurses.c.
int ncplane_resize_marginalized | ( | ncplane * | n | ) |
Definition at line 2723 of file notcurses.c.
int ncplane_resize_maximize | ( | ncplane * | n | ) |
Definition at line 2753 of file notcurses.c.
int ncplane_resize_placewithin | ( | ncplane * | n | ) |
Definition at line 2681 of file notcurses.c.
int ncplane_resize_realign | ( | ncplane * | n | ) |
Definition at line 2764 of file notcurses.c.
bool ncplane_scrolling_p | ( | const ncplane * | n | ) |
int ncplane_scrollup | ( | ncplane * | n, |
int | r | ||
) |
Definition at line 1792 of file notcurses.c.
Definition at line 1813 of file notcurses.c.
bool ncplane_set_autogrow | ( | ncplane * | n, |
unsigned | growp | ||
) |
Definition at line 3003 of file notcurses.c.
int ncplane_set_base | ( | ncplane * | ncp, |
const char * | egc, | ||
uint16_t | stylemask, | ||
uint64_t | channels | ||
) |
Definition at line 1558 of file notcurses.c.
uint64_t ncplane_set_bchannel | ( | ncplane * | n, |
uint32_t | channel | ||
) |
Definition at line 1530 of file notcurses.c.
int ncplane_set_bg_alpha | ( | ncplane * | n, |
int | alpha | ||
) |
void ncplane_set_bg_default | ( | ncplane * | n | ) |
int ncplane_set_bg_palindex | ( | ncplane * | n, |
unsigned | idx | ||
) |
Definition at line 1554 of file notcurses.c.
int ncplane_set_bg_rgb | ( | ncplane * | n, |
unsigned | channel | ||
) |
int ncplane_set_bg_rgb8 | ( | ncplane * | n, |
unsigned | r, | ||
unsigned | g, | ||
unsigned | b | ||
) |
void ncplane_set_bg_rgb8_clipped | ( | ncplane * | n, |
int | r, | ||
int | g, | ||
int | b | ||
) |
void ncplane_set_channels | ( | ncplane * | n, |
uint64_t | channels | ||
) |
uint64_t ncplane_set_fchannel | ( | ncplane * | n, |
uint32_t | channel | ||
) |
Definition at line 1534 of file notcurses.c.
int ncplane_set_fg_alpha | ( | ncplane * | n, |
int | alpha | ||
) |
void ncplane_set_fg_default | ( | ncplane * | n | ) |
int ncplane_set_fg_palindex | ( | ncplane * | n, |
unsigned | idx | ||
) |
int ncplane_set_fg_rgb | ( | ncplane * | n, |
unsigned | channel | ||
) |
int ncplane_set_fg_rgb8 | ( | ncplane * | n, |
unsigned | r, | ||
unsigned | g, | ||
unsigned | b | ||
) |
void ncplane_set_fg_rgb8_clipped | ( | ncplane * | n, |
int | r, | ||
int | g, | ||
int | b | ||
) |
int ncplane_set_name | ( | ncplane * | n, |
const char * | name | ||
) |
bool ncplane_set_scrolling | ( | ncplane * | n, |
unsigned | scrollp | ||
) |
void ncplane_set_styles | ( | ncplane * | n, |
unsigned | stylebits | ||
) |
void * ncplane_set_userptr | ( | ncplane * | n, |
void * | opaque | ||
) |
uint16_t ncplane_styles | ( | const ncplane * | n | ) |
bool ncplane_translate_abs | ( | const ncplane * | n, |
int *restrict | y, | ||
int *restrict | x | ||
) |
Definition at line 2590 of file notcurses.c.
void * ncplane_userptr | ( | ncplane * | n | ) |
const void * ncplane_userptr_const | ( | const ncplane * | n | ) |
Definition at line 196 of file notcurses.c.
Definition at line 2209 of file notcurses.c.
int ncplane_vprintf_aligned | ( | ncplane * | n, |
int | y, | ||
ncalign_e | align, | ||
const char * | format, | ||
va_list | ap | ||
) |
Definition at line 2125 of file notcurses.c.
char * ncplane_vprintf_prep | ( | const char * | format, |
va_list | ap | ||
) |
Definition at line 2087 of file notcurses.c.
int ncplane_vprintf_stained | ( | struct ncplane * | n, |
const char * | format, | ||
va_list | ap | ||
) |
Definition at line 2136 of file notcurses.c.
int ncplane_vprintf_yx | ( | ncplane * | n, |
int | y, | ||
int | x, | ||
const char * | format, | ||
va_list | ap | ||
) |
Definition at line 2115 of file notcurses.c.
int ncplane_x | ( | const ncplane * | n | ) |
int ncplane_y | ( | const ncplane * | n | ) |
void ncplane_yx | ( | const ncplane * | n, |
int * | y, | ||
int * | x | ||
) |
int ncstrwidth | ( | const char * | egcs, |
int * | validbytes, | ||
int * | validwidth | ||
) |
Definition at line 3309 of file notcurses.c.
const nccapabilities * notcurses_capabilities | ( | const notcurses * | n | ) |
Definition at line 3374 of file notcurses.c.
ncpixelimpl_e notcurses_check_pixel_support | ( | const notcurses * | nc | ) |
Definition at line 1153 of file notcurses.c.
notcurses * notcurses_core_init | ( | const notcurses_options * | opts, |
FILE * | outfp | ||
) |
Definition at line 1242 of file notcurses.c.
char * notcurses_detected_terminal | ( | const notcurses * | nc | ) |
void notcurses_drop_planes | ( | notcurses * | nc | ) |
Definition at line 1434 of file notcurses.c.
int notcurses_enter_alternate_screen | ( | notcurses * | nc | ) |
Definition at line 31 of file notcurses.c.
int notcurses_inputready_fd | ( | notcurses * | n | ) |
Definition at line 3091 of file notcurses.c.
int notcurses_leave_alternate_screen | ( | notcurses * | nc | ) |
Definition at line 42 of file notcurses.c.
int notcurses_lex_margins | ( | const char * | op, |
notcurses_options * | opts | ||
) |
Definition at line 3067 of file notcurses.c.
int notcurses_lex_scalemode | ( | const char * | op, |
ncscale_e * | scalemode | ||
) |
Definition at line 3035 of file notcurses.c.
int notcurses_mice_enable | ( | notcurses * | n, |
unsigned | eventmask | ||
) |
Definition at line 2556 of file notcurses.c.
unsigned notcurses_palette_size | ( | const notcurses * | nc | ) |
Definition at line 2062 of file notcurses.c.
int notcurses_stop | ( | notcurses * | nc | ) |
Definition at line 1446 of file notcurses.c.
const char * notcurses_str_scalemode | ( | ncscale_e | scalemode | ) |
Definition at line 3052 of file notcurses.c.
uint16_t notcurses_supported_styles | ( | const notcurses * | nc | ) |
int notcurses_ucs32_to_utf8 | ( | const uint32_t * | ucs32, |
unsigned | ucs32count, | ||
unsigned char * | resultbuf, | ||
size_t | buflen | ||
) |
Definition at line 3301 of file notcurses.c.
const char * notcurses_version | ( | void | ) |
Definition at line 182 of file notcurses.c.
void notcurses_version_components | ( | int * | major, |
int * | minor, | ||
int * | patch, | ||
int * | tweak | ||
) |
Definition at line 24 of file notcurses.c.
Definition at line 60 of file notcurses.c.
Definition at line 78 of file notcurses.c.
int resize_callbacks_children | ( | ncplane * | n | ) |
Definition at line 801 of file notcurses.c.
void scroll_down | ( | ncplane * | n | ) |
Definition at line 1758 of file notcurses.c.
int update_term_dimensions | ( | unsigned * | rows, |
unsigned * | cols, | ||
tinfo * | tcache, | ||
int | margin_b, | ||
unsigned * | cgeo_changed, | ||
unsigned * | pgeo_changed | ||
) |
Definition at line 316 of file notcurses.c.