Voltage of inductor/transformer with a square wave input
An inductor is integrating the applied voltage over time.

So, if the voltage is a positive constant, the current is a upwards ramp with constant grade. If the voltage is a negative constant, the current is a downwards ramp with constant grade. The current cannot "jump", it's continous.