Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
blaar
blibs
blc_core
Commits
59d632a3
Commit
59d632a3
authored
May 15, 2018
by
Arnaud Blanchard
Browse files
Add documentation
parent
8d92dd6c
Changes
1
Show whitespace changes
Inline
Side-by-side
include/blc_text.h
View file @
59d632a3
...
...
@@ -53,6 +53,7 @@ Blc core is composed of these five modules (one file each):
///Number of gradual colors we can use.
#define BLC_BAR_COLORS_NB 12
///Bright color
#define BLC_BRIGHT 0x8
///Code to be used in text coloring function (color_id).
...
...
@@ -78,12 +79,19 @@ enum BLC_COLORS{
///eprint for info print (stderr) to oppose standard cursor (stdout) usually not used
#define blc_eprint_cursor_position(row, column) eprintf_escape_command("%d;%dH", row, column);
///eprint for info print (stderr) to oppose standard cursor (stdout) usually not used
#define blc_eprint_cursor_up(rows_nb) eprintf_escape_command("%dA", rows_nb);
///eprint for info print (stderr) to oppose standard cursor (stdout) usually not used
#define blc_eprint_cursor_down(rows_nb) eprintf_escape_command("%dB", rows_nb);
///eprint for info print (stderr) to oppose standard cursor (stdout) usually not used
#define blc_eprint_cursor_up_left(rows_nb) eprintf_escape_command("%dF", rows_nb);
///eprint for info print (stderr) to oppose standard cursor (stdout) usually not used
#define blc_eprint_cursor_down_right(rows_nb) eprintf_escape_command("%dE", rows_nb);
///eprint for info print (stderr) to oppose standard cursor (stdout) usually not used
#define blc_eprint_del_end_line() eprintf_escape_command("0K");
///eprint for info print (stderr) to oppose standard cursor (stdout) usually not used
#define blc_eprint_del_end_screen() eprintf_escape_command("0J");
///eprint for info print (stderr) to oppose standard cursor (stdout) usually not used
#define blc_fprint_del_end_line(file) fprintf_escape_command(file, "0K");
///Shortcut to escape directly on stdout
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment