moved some general stuff into padding.go, implemented Ansi X923 padding