MCPcopy Create free account
hub / github.com/GNOME/gjs / gjs_console_clear

Function gjs_console_clear

util/console.cpp:64–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64bool gjs_console_clear() {
65 if (stdout_fd < 0 || !g_log_writer_supports_color(stdout_fd))
66 return false;
67
68 return fputs(ANSICode::CLEAR_SCREEN, stdout) > 0 && fflush(stdout) > 0;
69}
70
71#ifdef HAVE_READLINE_READLINE_H
72char* gjs_console_get_repl_history_path() {

Callers 1

gjs_clear_terminalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected