diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2015-03-16 17:42:42 +0100 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2015-03-16 17:42:42 +0100 |
commit | 15f758399f5cb38d0d05b96e7b15df59925b026e (patch) | |
tree | 434116f45fe420e112916600bee8e25e8d1f712f | |
parent | 2a4acd6b619c4e52bf65b23bbbaef0cc8a0c6361 (diff) | |
download | sciteco-15f758399f5cb38d0d05b96e7b15df59925b026e.tar.gz |
clarify comment of why newterm() cannot be used on PDCurses
-rw-r--r-- | src/interface-curses.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/interface-curses.cpp b/src/interface-curses.cpp index 0eba956..0c08ec9 100644 --- a/src/interface-curses.cpp +++ b/src/interface-curses.cpp @@ -142,10 +142,12 @@ InterfaceCurses::init_batch(void) #endif /* - * PDCurses does not seem to support redirecting - * the terminal to arbitrary files, so the - * newterm() hack for UNIX/ncurses does not - * work here. + * PDCurses cannot support terminal redirection + * into files, nor can it support multiple terminals. + * So we do a classic Curses initialization here. + * Unfortunately, this clears the screen in + * PDCurses/win32, so that batch mode is somewhat + * broken there. */ initscr(); } |