martanne / vis

A vi-like editor based on Plan 9's structural regular expressions
Other
4.2k stars 258 forks source link

Cursor is not displayed when default-{16,256} files are not present #975

Open bharatvaj opened 2 years ago

bharatvaj commented 2 years ago

I was trying to match my terminal emulator colors in vis. So I naively moved the share/themes/*.lua files to some backup folder thinking that vis might fallback to terminal emulator colors. But to my surprise, when I opened a file, there was no cursor displayed on the window which had the file I wanted to edit. There was another window which displayed vis was not able to load the default theme. For some reasons the second window had cursor. I tried C-w + k, but that didn't help.

This is what I got when I tried to open vis-std.lua

Screenshot 2021-08-15 at 11 11 14 PM

And also should we really have a theme file as a dependency in vis-std.lua?