Color pass-through in urwid or curses
问题 I would like to write a wrapper around git log , somewhat similar to gitk but on a terminal. I thought this should be easy because git log already formats the output, all I need to do is put it in a list view where I can select a commit. However, both urwid and curses mess up the color codes which git log is using. I tried to implement a custom urwid widget hoping it might leave the color codes alone but it does not behave any different. I considered to move the coloring of the output from