Set the size of the border for the scroll hash
int SLsmg_Scroll_Hash_Border = 0;
This variable may be used to ignore the characters that occur at the beginning and the end of a row when performing the hash calculation to determine whether or not a line has scrolled. The default value is zero which means that all the characters on a line will be used.
SLsmg_refresh