Store input in memory
Store IBUF length on enter