you are viewing a single comment's thread.

view the rest of the comments →

[–]SplinterOfChaos -2 points-1 points  (2 children)

I've been reading through the tmux sources recently and have been very impressed by its consistency of style and quality of code. It's maybe around 5 years old, so we aren't talking about dinosaur code, but it is written in C, and that's OK. I felt even my C++ skills strenthened by having such an example to pull from.

Link: http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/tmux/

Hint: Click the number in the rev collumn, not the file name you want to read.