Fix initial cursor position with initial entry

develop
lethosor 2015-11-05 19:09:35 -05:00
parent 8412a496dd
commit 5c4e28dbff
1 changed files with 1 additions and 1 deletions

@ -60,7 +60,7 @@ public:
{ {
show_fps=gps->display_frames; show_fps=gps->display_frames;
gps->display_frames=0; gps->display_frames=0;
cursor_pos = 0; cursor_pos = entry.size();
frame = 0; frame = 0;
history_idx = command_history.size(); history_idx = command_history.size();
if (history_idx > 0) if (history_idx > 0)