aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-02-01 20:21:17 +1000
committerDavid Walter Seikel2014-02-01 20:21:17 +1000
commite4b9d3eab7a77c4591abc89ddd89070e61e57d75 (patch)
tree4e04e0f339bf89307c1d4fac09834cffc84aae3d
parentFixed dumbsh end of screen handling. (diff)
downloadboxes-e4b9d3eab7a77c4591abc89ddd89070e61e57d75.zip
boxes-e4b9d3eab7a77c4591abc89ddd89070e61e57d75.tar.gz
boxes-e4b9d3eab7a77c4591abc89ddd89070e61e57d75.tar.bz2
boxes-e4b9d3eab7a77c4591abc89ddd89070e61e57d75.tar.xz
Fix dumb off by one error in dumbsh.
Diffstat (limited to '')
-rw-r--r--dumbsh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dumbsh.c b/dumbsh.c
index a36e265..058b03a 100644
--- a/dumbsh.c
+++ b/dumbsh.c
@@ -117,7 +117,7 @@ static void doCommand()
117 117
118static void endOfLine() 118static void endOfLine()
119{ 119{
120 TT.x = strlen(toybuf) - 1; 120 TT.x = strlen(toybuf);
121 updateLine(); 121 updateLine();
122} 122}
123 123