I usually use emacs-nox when running inside of a terminal. Not sure on how it's related exactly to emacs -nw. I do know it's a separate binary, so infer from that what you will.
Emacs defaults to a GUI if available. The -nw toggle switches it off even when available, while -nox compiles without GUI support so it’s never available.
There are some minor differences. For example, I believe -nw can still use the X support to access the GUI clipboard, while -nox requires enabling e.g. OSC-52 support to do the same.
setopt|4 months ago
There are some minor differences. For example, I believe -nw can still use the X support to access the GUI clipboard, while -nox requires enabling e.g. OSC-52 support to do the same.