include start
call OK addstr "abcde\n"
call OK addstr "\n"
call OK addstr "\t8\n"
call OK addstr "0123456\t8\n"
call OK refresh
compare addstr.chk
#
# Checks for PR#56224
#
call OK move 23 0
# the addstr should be truncated since no scrolling and will return ERR
call ERR addstr "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890123456789"
call OK refresh
call OK clear
call OK move 23 75
call ERR addstr "a\thello"
call OK refresh
compare addstr2.chk
call OK scrollok STDSCR $TRUE
# the addstr should be not truncated since scrolling is enabled
call OK addstr "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$%^&*()"
call OK refresh
call OK clear
call OK move 23 75
call OK addstr "a\thello"
call OK refresh
compare addstr3.chk
