JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Add tabs field into Term struct
authorRoberto E. Vargas Caballero <k0ga@shike2.com>
Wed, 29 Aug 2012 17:59:37 +0000 (19:59 +0200)
committerRoberto E. Vargas Caballero <k0ga@shike2.com>
Wed, 29 Aug 2012 17:59:37 +0000 (19:59 +0200)
commitee7fd748ac7bfabda2ac37251d230b45adb3e138
treeb350439ebeb67f710486ce3d881b6a86ed973cb3
parentc6853fe18564437fe0a4cb06565a0a7d63d40b5a
Add tabs field into Term struct

Tabs stop are simulated in st using a fixed size of 8, always, without be
worried about sequences changing the tab stops. A user can put a tab stop in
each horizontal position of the screen, so we need at least one flag for
each column of the screen. In the same way as dirty flags is used for the
rows, it is used a bool dinamic array.

Signed-off-by: Roberto E. Vargas Caballero <k0ga@shike2.com>
---
 st.c |   22 +++++++++++++++++++---
 1 file changed, 19 insertions(+), 3 deletions(-)
st.c