diff options
author | Andrzej Rybczak <electricityispower@gmail.com> | 2009-03-25 17:47:10 +0100 |
---|---|---|
committer | Andrzej Rybczak <electricityispower@gmail.com> | 2009-03-25 17:47:10 +0100 |
commit | 1b22f307eaec7ebaad1f0a5c431f703a1967ca24 (patch) | |
tree | ae0bde42c7f1ec3170a30933369a0cadaf195c26 /src/status.cpp | |
parent | f24db993aa5023aadb6aa90e7f2cbc70dd475e19 (diff) |
add support for pdcurses
Diffstat (limited to 'src/status.cpp')
-rw-r--r-- | src/status.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/status.cpp b/src/status.cpp index 62cde76f..58c41710 100644 --- a/src/status.cpp +++ b/src/status.cpp @@ -51,10 +51,14 @@ namespace void WindowTitle(const string &status) { +# ifndef USE_PDCURSES static const string term_type = getenv("TERM") ? getenv("TERM") : ""; if (term_type != "linux" && Config.set_window_title) std::cout << "\033]0;" << status << "\7"; +# else + (void)status; +# endif // USE_PDCURSES } } |