diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2024-09-16 22:30:35 +0200 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2024-09-16 22:30:35 +0200 |
commit | 8744502cbe42c98422a798c06f4c8ce033725412 (patch) | |
tree | 58141e513fa0a066944be0229cfa3c649f934f8d /src/sciteco.h | |
parent | bc859a06a13b24daea12d35df2a1ec5114b42180 (diff) | |
download | sciteco-8744502cbe42c98422a798c06f4c8ce033725412.tar.gz |
Curses: added support for cool Unicode icons (refs #5)
* Practically requires one of the "Nerd Font" fonts,
so it's disabled by default.
Add 0,512ED to the profile to enable them.
* The new ED flag could be used to control Gtk icons as well,
but they are left always-enabled for the time being.
Is there any reason anybody would like to disable icons in Gtk?
* The list of icons has been adapted and extended from exa:
https://github.com/ogham/exa/blob/master/src/output/icons.rs
* The icons are hardcoded as presorted lists,
so we can binary search them.
This could change in the future. If there is any demand,
they could be made configurable via Q-Registers as well.
Diffstat (limited to 'src/sciteco.h')
-rw-r--r-- | src/sciteco.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sciteco.h b/src/sciteco.h index 894bb90..1597439 100644 --- a/src/sciteco.h +++ b/src/sciteco.h @@ -91,7 +91,8 @@ enum { TECO_ED_HOOKS = (1 << 5), //TECO_ED_MOUSEKEY = (1 << 6), TECO_ED_SHELLEMU = (1 << 7), - TECO_ED_XTERM_CLIPBOARD = (1 << 8) + TECO_ED_XTERM_CLIPBOARD = (1 << 8), + TECO_ED_ICONS = (1 << 9) }; /* in main.c */ |