added terminal clipboard support