> Even better if you make it single pixel wide, something I like from VSCode. This way, it works nicely with rainbow colors in dark mode too.
I could, but on top of my head, this would require using ASCII blocks characters for the 1 pixel vertical lines, which would break your regular copy paste (ex: shift + mouse) if not using vi visual mode (not a big fan personally).
My current solution uses the background color of regular spaces, so you can copy/paste without any issue, and without having to strip characters from your copy paste buffer (like with wl-copy / wl-paste)
> EDIT: applying the grayscale color to the background would be another direction, it also looks nice:
Indeed, and this could also be made more reliable by using the vt52 underline toggle, and using different colors/grayscales for the underline: it wouldn't break the copy/paste, but you would be missing the vertical lines, so it wouldn't be exactly a block :(
Otherwise it'd have to use sixels: you could do nice things like rounded angles, but this would restrict your choices of terminal.
Anyway, lmk if you need any help to setup either. I'm a bit busy rn but I should be able to provide you at least some suggestions on how to do it for your specific usecase, with minimal negative side effects (like breaking copy-paste :)
Vim+Python might be more popular than Emacs+Lisp, so here's my rainbow mode plugin to help with Tabs: https://github.com/csdvrx/indent-rainbow