The bug which prevents any typing in the fields comes from here, the length of the string created should be `t_length` and not `t_finish - t_start` (which is always `0` in the `else` statement since `t_finish == t_start`)