# HG changeset patch # User Teemu Piippo # Date 1418680681 -7200 # Node ID 9e0f26f020e165b1a69614f72223467407a29be7 # Parent 02009f1ec2b72621d88a951b7efe818fe8ed6aa5 - fixed: horizontal input scrolling was broken diff -r 02009f1ec2b7 -r 9e0f26f020e1 sources/interface.cpp --- a/sources/interface.cpp Mon Dec 15 22:36:14 2014 +0200 +++ b/sources/interface.cpp Mon Dec 15 23:58:01 2014 +0200 @@ -485,7 +485,7 @@ // Render the input string mvhline (LINES - 2, 0, ' ', COLS); - mvprintw (y, prompt.length() + 1, "%s", displayString.chars()); + mvprintw (y, prompt.length() + 1, "%s", displayString.mid (start, end).chars()); // Render the prompt attron (promptColor);