Much better flush on buffer full in readline