sources/interface.cpp

changeset 49
9e0f26f020e1
parent 48
02009f1ec2b7
child 50
874bbfa55da8
--- 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);

mercurial