compat: discard (ftm) key resources used by xterm