aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/file-utils.c2
-rw-r--r--src/ring.c4
2 files changed, 5 insertions, 1 deletions
diff --git a/src/file-utils.c b/src/file-utils.c
index 02816b4..75bcb48 100644
--- a/src/file-utils.c
+++ b/src/file-utils.c
@@ -483,7 +483,7 @@ teco_file_auto_complete(const gchar *filename, GFileTest file_test, teco_string_
strlen((gchar *)file->data), is_buffer);
}
- teco_interface_popup_show(filename ? strlen(filename) : 0);
+ teco_interface_popup_show(filename_len);
}
/*
diff --git a/src/ring.c b/src/ring.c
index 2c235af..0f1d67f 100644
--- a/src/ring.c
+++ b/src/ring.c
@@ -480,6 +480,10 @@ teco_state_edit_file_done(teco_machine_main_t *ctx, const teco_string_t *str, GE
* area.
* Naturally this only has any effect in interactive
* mode.
+ * Note that you can also click on these entries \(em
+ * if mouse support is enabled \(em to immediately switch
+ * to any file in the buffer ring just like with any
+ * other popup.
*
* <file> may also be a glob pattern, in which case
* all regular files matching the pattern are opened/edited.