Set the terminal title/icon. More...
#include <stdbool.h>
Go to the source code of this file.
Functions | |
bool | mutt_ts_capability (void) |
Check terminal capabilities. | |
void | mutt_ts_status (char *str) |
Set the text of the terminal title bar. | |
void | mutt_ts_icon (char *str) |
Set the icon in the terminal title bar. | |
const char * | mutt_tigetstr (const char *name) |
Get terminal capabilities. | |
Variables | |
bool | TsSupported |
Terminal Setting is supported. | |
Set the terminal title/icon.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file terminal.h.
bool mutt_ts_capability | ( | void | ) |
Check terminal capabilities.
true | Terminal is capable of having its title/icon set |
Definition at line 72 of file terminal.c.
void mutt_ts_status | ( | char * | str | ) |
Set the text of the terminal title bar.
str | Text to set |
Definition at line 119 of file terminal.c.
void mutt_ts_icon | ( | char * | str | ) |
Set the icon in the terminal title bar.
str | Icon string |
Definition at line 133 of file terminal.c.
const char * mutt_tigetstr | ( | const char * | name | ) |
Get terminal capabilities.
name | Name of capability |
str | Capability |
Definition at line 57 of file terminal.c.
|
extern |
Terminal Setting is supported.
Definition at line 42 of file terminal.c.