diff options
| author | Christoph Lohmann <20h@r-36.net> | 2012-09-27 19:28:44 +0200 |
|---|---|---|
| committer | Christoph Lohmann <20h@r-36.net> | 2012-09-27 19:28:44 +0200 |
| commit | 29b209f5f55c80e457a5a913a463bd24f8e307e9 (patch) | |
| tree | 18019f68e7461abc047fd6a51744755f4368a98c | |
| parent | 3af49e34f666554fcd52a52a7ca15f3e7eafa197 (diff) | |
| download | st-29b209f5f55c80e457a5a913a463bd24f8e307e9.tar.gz st-29b209f5f55c80e457a5a913a463bd24f8e307e9.zip | |
Vt escape sequences allow escape sequences in escape sequences and escape
sequences, so we have to support escape sequences in escape sequences that
escape sequences in escape sequences – setting a title won't notify you
anymore.
| -rw-r--r-- | st.c | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -1685,6 +1685,9 @@ tputc(char *c, int len) { | |||
| 1685 | tnewline(IS_SET(MODE_CRLF)); | 1685 | tnewline(IS_SET(MODE_CRLF)); |
| 1686 | return; | 1686 | return; |
| 1687 | case '\a': | 1687 | case '\a': |
| 1688 | if(term.esc & ESC_STR) | ||
| 1689 | break; | ||
| 1690 | |||
| 1688 | if(!(xw.state & WIN_FOCUSED)) | 1691 | if(!(xw.state & WIN_FOCUSED)) |
| 1689 | xseturgency(1); | 1692 | xseturgency(1); |
| 1690 | return; | 1693 | return; |
