From 1ecc40fdddc177cbb2329b2d0f69ad2721e9a938 Mon Sep 17 00:00:00 2001 From: Amber Date: Thu, 18 Jan 2024 09:39:40 +0100 Subject: [PATCH] colors --- README.md | 1 + src/__pycache__/colors.cpython-39.pyc | Bin 0 -> 870 bytes src/__pycache__/tree_repr.cpython-39.pyc | Bin 5058 -> 5173 bytes src/colors.py | 18 ++++++++++++++++++ src/tree_repr.py | 4 +++- 5 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 src/__pycache__/colors.cpython-39.pyc create mode 100644 src/colors.py diff --git a/README.md b/README.md index a441e38..2c67c2b 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # Nerd tree An ugly version of the unix-like tree command and a visual version of find command that shows the results found in a visual tree. +All written in python language. Branch is unstable and under development diff --git a/src/__pycache__/colors.cpython-39.pyc b/src/__pycache__/colors.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..4a560e30ff941f9f96f0ca43d02d8d06c22f67ca GIT binary patch literal 870 zcmbV~y-veG49D;C)$}8RiG>Y`p$lngVF4kaL@ZILf+|!Ppo$|gGz9tD0mKFmL*Iru zBfJF@c2H2Zpj>4CZRzfQcFr@$X$e{%pYQRV6yl4M^3o_dCR0OlAV9u}YXKVQq!J7; zNj0#bL8^ldO;Q6|&?YsZb1Aw`MECwJj&-sTnd*=OxezbnRc;8{s|C+%n>W4w!JwaP zD~fu_N@luRAc<5ffhHaK-g58LBzEV^Xy!h|2)7H2V^?A1M(I37we$Ft>7jSVFvT4R zi4F3#Dj5`&AYX@Ed|t(`vnb81sptC_R|dre&Zf8)Znqj|o`;?na6<*HS(mn7O*2N* zlYob$fN@-_wc$Ttr~brqO0afa*j_cv8c)Kp@2!_`Jdr`y%BKbS4UvB>a?8l2Aa5u= YKaV5kGhiPkDJoO{8K z+|4Ew6bnzwqzhNpEd`4;xN6tr8C@tI`_tSWWY^n(pZ}!!v58XVwy4f)cKI z7T0~NpLjMmJcpZJk|(?rx4bmBSE-lb4o}`DU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`7l>#58!edVIRVNggyk-jh)X2ZVL!%eox>E xo$tg4D_E#(suZgCT}B={wCN@4P3q%i9jU>Wr|QqZJ8Tl{20e?7$&dRc{{eEztB3#q delta 1930 zcmZ8iOKcoP5bf@no!`!Wyk2MR#CB}wV^2QLhoBH-9D-var2L3Y6pe&dj%#c$S?`*j zNdRdUOGyx15QM&PLWw}iAzY#eB#t2E$bsu1;EcF%L*hhLZyb_cX{)=dx?fk-tFHNO z>Zi%VQla26{6#!SU{l;+a^~H=X)ZBR^A-nl zkX;iUJ25*>YRfB0j>h3Av7&T3`(^u&)XEZOXv`=OZ!1I$rACwNn>zE8-sK zEOAnvI^eE|TLRn~OYmIkf%hqSl5bVI_S6~$KE!BKC!ZRSPxCc)99>0+46F)Y-Lb|@ ztk=4FXbn#rloBrcDJ9$syv$gQ64^(~@*9iu=N9UV7wYp@=FYx#dS2RJ*e5N@G%_}C zPx5}XZXYNTSE1F2n@e#btLnbJv-&)9@*wUwr84^nKlsRZe&Mr3SzyRh?eLDy?b_0#hAbIh3C!MeWC;AsiCPf9*GSf~ zT)fe2BvQvPrat#3HUq-Z)j^x(c7iHDQv!*+zMKTEE*gDNXeaG1$}}CIP~;&xCE{4> zT(}fSeYw5yK~HVT8Qiyu|2Ra!avnF;k^E&oqdv)hJgl>!Bc+sRV9b$rbxQ5`r}vO8 z^cqRDUSD2oG@%!L7VQtzhyDhI!6FY~AI>|-@v8t11U z&6O&AyH2u>^hGpviPcmdQ|)H+EN|s70Hz+Nv$0_tlsV$Iev!LPm-;xn)vMX zqpY*^3{0jT_MPAt)n9$Hm#JMMcbWhye))1&K`h8~C^AQ%Ox{m=aowl2hfjX1@jBG6 zFR9JS5?tJZ)353Yvrzw1sYZ#zpO{{_Z$4>-f=V RMziRk&EhHC=cr colorize rootnode_name = rootnode['name'] - nerd_tree_txt = 'd_' + rootnode_name + nerd_tree_txt = CYAN(rootnode_name) items = rootnode.get('children') or []