MCPcopy Create free account
hub / github.com/git/git / is_terminal_dumb

Function is_terminal_dumb

editor.c:21–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19#endif
20
21int is_terminal_dumb(void)
22{
23 const char *terminal = getenv("TERM");
24 return !terminal || !strcmp(terminal, "dumb");
25}
26
27const char *git_editor(void)
28{

Callers 5

demultiplex_sidebandFunction · 0.85
git_editorFunction · 0.85
launch_specified_editorFunction · 0.85
term_clear_lineFunction · 0.85
check_auto_colorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected