We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7683859 commit b533456Copy full SHA for b533456
src/RadLine/LineEditorHistory.cs
@@ -88,11 +88,8 @@ internal bool MovePrevious(LineEditorState state)
88
if ((_current == null && _intermediate == null) || _showIntermediate)
89
{
90
// Got something written that we don't want to lose?
91
- if (!string.IsNullOrWhiteSpace(state.Text))
92
- {
93
- // Store the interediate buffer so it wont get lost.
94
- _intermediate = state.GetBuffers().ToArray();
95
- }
+ // Store the interediate buffer so it wont get lost.
+ _intermediate = state.GetBuffers().ToArray();
96
}
97
98
_showIntermediate = false;
0 commit comments