Add clipboard support in non-GUI mode