aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmdline.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cmdline.cpp')
-rw-r--r--cmdline.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/cmdline.cpp b/cmdline.cpp
index d8e71ac..5d6700f 100644
--- a/cmdline.cpp
+++ b/cmdline.cpp
@@ -129,6 +129,13 @@ process_edit_cmd(gchar key)
case '\x1B':
if (cmdline && cmdline[cmdline_len - 1] == '\x1B') {
+ if (Goto::skip_label) {
+ interface.msg(Interface::MSG_ERROR,
+ "Label \"%s\" not found",
+ Goto::skip_label);
+ break;
+ }
+
if (quit_requested) {
/* FIXME */
exit(EXIT_SUCCESS);