Synology DSM runs a minimal BusyBox environment with no tic, no infocmp, and no pre-installed xterm-ghostty terminfo. Ghostty's built-in SSH terminfo installer always fails and falls back to xterm-256color.
This guide gets you to xterm-ghostty with full shell integration and triple-click output selection.