Remove automatically prepended whitespace when inserting history lines