]> Sergey Matveev's repositories - st.git/commit
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)
commit2d061761f9b0ce1b6f00e4de33829688e4cb17ed
treeb350439ebeb67f710486ce3d881b6a86ed973cb3
parent4eeb3aded32a3bfb5a7c2064753f612d3098babb
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