How how to delete text to end of line ?
stdscr.addstr(5, 5, "Egestas Curabitur Phasellus magnis")
result screen: Egestas Curabitur Phasellus magnis
# OK
stdscr.addstr(5, 5, "Elit metus")
result screen: Elit metusrabitur Phasellus magnis
# Problem