2 * This file is part of mutt-ng, see http://www.muttng.org/.
3 * It's licensed under the GNU General Public License,
4 * please see the file GPL in the top level source directory.
9 #include <lib-lib/str.h>
12 /* sets the current xterm's title */
13 static inline void mutt_xterm_set_title(const char *title) {
14 printf("\033]2;%s\007", NONULL(title));
18 /* sets the current xterm's icon */
19 static inline void mutt_xterm_set_icon(const char *name) {
20 printf("\033]1;%s\007", NONULL(name));
24 #endif /* !MUTT_XTERM_H */