making pr() usable in terminal