diff --git a/ChangeLog b/ChangeLog
index 54a9c40d8954c77260f71178e5223102c5a93e71..4dd8ba2a41badfcca23c9aba803c3bd270d89838 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -163,6 +163,10 @@ CVS code -
 	  lines would not be updated properly if the current line was
 	  not the first or last line of the edit window. (DLR, found by
 	  Mike Frysinger)
+- nano.c:
+  handle_sigwinch()
+	- Just in case we're in the statusbar prompt, reset the
+	  statusbar cursor position when resizing the window. (DLR)
 - nano.h:
 	- Remove the manual disabling of color support if regex.h isn't
 	  found, as configure.ac now handles that. (DLR)
diff --git a/src/nano.c b/src/nano.c
index 8e8dd6d69ef3c2a29950945d6b18f37e95621834..7ce83123128604f80d6943b2c6bb91d36ec61b8f 100644
--- a/src/nano.c
+++ b/src/nano.c
@@ -1088,6 +1088,10 @@ RETSIGTYPE handle_sigwinch(int signal)
     COLS = win.ws_col;
     LINES = win.ws_row;
 
+    /* Just in case we're in the statusbar prompt, reset the statusbar
+     * cursor position. */
+     do_prompt_abort();
+
     /* If we've partitioned the filestruct, unpartition it now. */
     if (filepart != NULL)
 	unpartition_filestruct(&filepart);