aboutsummaryrefslogtreecommitdiff
path: root/src/textadept.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/textadept.c')
-rw-r--r--src/textadept.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/textadept.c b/src/textadept.c
index 06d4a98a..de99f86b 100644
--- a/src/textadept.c
+++ b/src/textadept.c
@@ -2273,6 +2273,7 @@ int main(int argc, char **argv) {
#elif NCURSES
scintilla_refresh(focused_view);
+ stderr = freopen("/dev/null", "w", stderr); // redirect stderr
// Ignore some termios (from GNU Nano).
tcgetattr(0, &term);
term.c_iflag &= ~IEXTEN, term.c_iflag &= ~IXON;