cut handler, cursor, input => tileInput