This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository efm2.
View the commit online.
commit dae3a135e09ed3a37a63a1a12d36f81b8a08a756
Author: Carsten Haitzler (Rasterman) <[email protected]>
AuthorDate: Sat Jan 31 10:44:50 2026 +0000
add icons on detecting a dr being typed
---
src/efm/efm_typebuf.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/efm/efm_typebuf.c b/src/efm/efm_typebuf.c
index f138d87..ad3d1d2 100644
--- a/src/efm/efm_typebuf.c
+++ b/src/efm/efm_typebuf.c
@@ -505,7 +505,10 @@ _typebuf_format(Smart_Data *sd)
{
_typebuf_command_clear(sd, s);
_typebuf_cmd_reset(sd);
- typebuf_icon(sd, NULL);
+ if ((_has_path_full(s)) || (_has_path_relative(s)))
+ typebuf_icon(sd, "std:folder");
+ else if (_has_path_user(s)) typebuf_icon(sd, "std:user-home");
+ else typebuf_icon(sd, NULL);
}
// put cursor back where it was
elm_entry_cursor_pos_set(sd->o_typebuf, cpos);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.