]> git.ipfire.org Git - thirdparty/git.git/commit - column.c
column: add columnar layout
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Fri, 13 Apr 2012 10:54:35 +0000 (17:54 +0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 27 Apr 2012 16:26:38 +0000 (09:26 -0700)
commit077539d734cdc4b0a3d2ea87fc487fa5c21d0311
tree0e6899e3287619e7f92628c8f1c451b1173a958b
parent88e8f908f2b0c56f9ccf8134d8ff9f689af9cc84
column: add columnar layout

COL_COLUMN and COL_ROW fill column by column (or row by row
respectively), given the terminal width and how many space between
columns. All cells have equal width.

Strings are supposed to be in UTF-8. Valid ANSI escape strings are OK.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config.txt
column.c
column.h
t/t9002-column.sh