On pressing arrow keys, the inputBuffer is getting reset. I could not understand why this is done.
Consider a case where one has typed @Aa instead of @Aja. Now he may press left arrow and type in the missed character (j, in this case) and the mentions should still work. But since the buffer is reset, this doesn't work.
On pressing arrow keys, the inputBuffer is getting reset. I could not understand why this is done. Consider a case where one has typed @Aa instead of @Aja. Now he may press left arrow and type in the missed character (j, in this case) and the mentions should still work. But since the buffer is reset, this doesn't work.