diff options
| -rw-r--r-- | st.c | 13 |
1 files changed, 13 insertions, 0 deletions
| @@ -1967,6 +1967,19 @@ strhandle(void) | |||
| 1967 | tfulldirt(); | 1967 | tfulldirt(); |
| 1968 | } | 1968 | } |
| 1969 | return; | 1969 | return; |
| 1970 | case 110: | ||
| 1971 | case 111: | ||
| 1972 | case 112: | ||
| 1973 | if (narg != 1) | ||
| 1974 | break; | ||
| 1975 | if ((j = par - 110) < 0 || j >= LEN(osc_table)) | ||
| 1976 | break; /* shouldn't be possible */ | ||
| 1977 | if (xsetcolorname(osc_table[j].idx, NULL)) { | ||
| 1978 | fprintf(stderr, "erresc: %s color not found\n", osc_table[j].str); | ||
| 1979 | } else { | ||
| 1980 | tfulldirt(); | ||
| 1981 | } | ||
| 1982 | return; | ||
| 1970 | } | 1983 | } |
| 1971 | break; | 1984 | break; |
| 1972 | case 'k': /* old title set compatibility */ | 1985 | case 'k': /* old title set compatibility */ |
