Is it possible to start with the tree view closed? #328
Answered
by
vincens2005
humanplayer2
asked this question in
Q&A
-
I often need to quickly view a single text file, not a project, and for that I find the the tree view distracting. I tried adding the following to my User module, but it has no effect on start-up:
|
Beta Was this translation helpful? Give feedback.
Answered by
vincens2005
Jul 6, 2021
Replies: 2 comments 6 replies
-
yes, you just need to put it in a separate thread (idk why) core.add_thread(function ()
command.perform("treeview:toggle")
end) |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
humanplayer2
-
Why it doesn't work for me? I have a clean install of Lite XL 2.1.7 and my init.lua is:
|
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
yes, you just need to put it in a separate thread (idk why)