make it possible to globally change the truncation length (default 255)