fix the gorram debian bullshit history cursor position