Replace TUI's select_frame hook (PR tui/13378)