From 8744502cbe42c98422a798c06f4c8ce033725412 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Mon, 16 Sep 2024 22:30:35 +0200 Subject: 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. --- sample.teco_ini | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sample.teco_ini') diff --git a/sample.teco_ini b/sample.teco_ini index f0f5208..869bfb9 100644 --- a/sample.teco_ini +++ b/sample.teco_ini @@ -59,6 +59,9 @@ EMQ[$SCITECOPATH]/fnkeys.tes ! Uncomment if XTerm allows clipboard operations ! ! 0,256ED ! +! Uncomment to enable Unicode icons in the Curses UI ! +! 0,512ED ! + ! Uncomment to tweak the memory limit ! ! 500*1000*1000,2EJ ! -- cgit v1.2.3