there's no easy and portable way to read the current title so mutt-ng cannot
read it upon startup and restore it when exiting.
- Based on the xterm FAQ, the following might work: set xterm_leave = '`test
+ Based on the xterm FAQ, the following might work:
The Mutt-ng E-Mail Client 148
- x_\bD_\bI_\bS_\bP_\bL_\bA_\bY (section , page ) != x && xprop -id _\bW_\bI_\bN_\bD_\bO_\bW_\bI_\bD (section , page ) | grep
- WM_NAME | cut -d ''' -f 2`'
+ set xterm_leave = '`test x$DISPLAY != x && xprop -id $WINDOWID | grep WM_NAME |
+ cut -d ''' -f 2`'
_\b6_\b._\b3_\b._\b3_\b3_\b7 _\bx_\bt_\be_\br_\bm_\b__\bs_\be_\bt_\b__\bt_\bi_\bt_\bl_\be_\bs