Skip to content

Commit

Permalink
remove deprecated renderfp field from notcurses_options #1777
Browse files Browse the repository at this point in the history
  • Loading branch information
dankamongmen committed Oct 16, 2021
1 parent 5d31251 commit 962087a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
4 changes: 1 addition & 3 deletions doc/man/man3/notcurses_render.3.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,7 @@ requires determining an extended grapheme cluster, foreground color, background
color, and style for each cell of the physical terminal. Writing the scene
requires synthesizing a set of UTF-8-encoded characters and escape codes
appropriate for the terminal (relying on terminfo(5)), and writing this
sequence to the output **FILE**. If the **renderfp** value was not NULL in the
original call to **notcurses_init**, the frame will be written to that **FILE**
as well. This write does not affect statistics.
sequence to the output **FILE**.

Each cell can be rendered in isolation, though synthesis of the stream carries
dependencies between cells.
Expand Down
1 change: 0 additions & 1 deletion include/notcurses/notcurses.h
Original file line number Diff line number Diff line change
Expand Up @@ -921,7 +921,6 @@ typedef struct notcurses_options {
// the environment variable TERM is used. Failure to open the terminal
// definition will result in failure to initialize notcurses.
const char* termtype;
FILE* renderfp; // deprecated, must be NULL, will be removed for ABI3 FIXME
// Progressively higher log levels result in more logging to stderr. By
// default, nothing is printed to stderr once fullscreen service begins.
ncloglevel_e loglevel;
Expand Down
1 change: 0 additions & 1 deletion src/libcpp/NotCurses.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ using namespace ncpp;

notcurses_options NotCurses::default_notcurses_options = {
/* termtype */ nullptr,
/* renderfp */ nullptr,
/* loglevel */ NCLogLevel::Silent,
/* margin_t */ 0,
/* margin_r */ 0,
Expand Down

0 comments on commit 962087a

Please sign in to comment.