| 62 | } |
| 63 | |
| 64 | bool 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 |
| 72 | char* gjs_console_get_repl_history_path() { |
no outgoing calls
no test coverage detected