diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/term.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/term.c b/src/term.c index 50651a64c78..fc3d0c7d913 100644 --- a/src/term.c +++ b/src/term.c | |||
| @@ -1506,6 +1506,17 @@ to do `unset TERMCAP' (C-shell: `unsetenv TERMCAP') as well.\n", | |||
| 1506 | TS_standout_mode = tgetstr ("us", address); | 1506 | TS_standout_mode = tgetstr ("us", address); |
| 1507 | } | 1507 | } |
| 1508 | 1508 | ||
| 1509 | /* If no `se' string, try using a `me' string instead. | ||
| 1510 | If that fails, we can't use standout mode at all. */ | ||
| 1511 | if (TS_end_standout_mode == 0) | ||
| 1512 | { | ||
| 1513 | char *s = tgetstr ("me"); | ||
| 1514 | if (s != 0) | ||
| 1515 | TS_end_standout_mode = s; | ||
| 1516 | else | ||
| 1517 | TS_standout_mode = 0; | ||
| 1518 | } | ||
| 1519 | |||
| 1509 | if (TF_teleray) | 1520 | if (TF_teleray) |
| 1510 | { | 1521 | { |
| 1511 | Wcm.cm_tab = 0; | 1522 | Wcm.cm_tab = 0; |