version 1.131, 2019/01/04 03:21:02 |
version 1.134, 2022/08/16 17:45:55 |
|
|
/* $Id$ */ |
/* $Id$ */ |
/* |
/* |
|
* Copyright (c) 2011-2015,2017,2019,2022 Ingo Schwarze <schwarze@openbsd.org> |
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> |
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> |
* Copyright (c) 2011-2015, 2017, 2019 Ingo Schwarze <schwarze@openbsd.org> |
|
* |
* |
* Permission to use, copy, modify, and distribute this software for any |
* Permission to use, copy, modify, and distribute this software for any |
* purpose with or without fee is hereby granted, provided that the above |
* purpose with or without fee is hereby granted, provided that the above |
Line 56 struct termp_col { |
|
Line 56 struct termp_col { |
|
size_t col; /* Byte in buf to be written. */ |
size_t col; /* Byte in buf to be written. */ |
size_t rmargin; /* Current right margin. */ |
size_t rmargin; /* Current right margin. */ |
size_t offset; /* Current left margin. */ |
size_t offset; /* Current left margin. */ |
|
size_t taboff; /* Offset for literal tabs. */ |
}; |
}; |
|
|
struct termp { |
struct termp { |
Line 149 size_t term_len(const struct termp *, size_t); |
|
Line 150 size_t term_len(const struct termp *, size_t); |
|
|
|
void term_tab_set(const struct termp *, const char *); |
void term_tab_set(const struct termp *, const char *); |
void term_tab_iset(size_t); |
void term_tab_iset(size_t); |
|
void term_tab_ref(struct termp *); |
size_t term_tab_next(size_t); |
size_t term_tab_next(size_t); |
|
void term_tab_free(void); |
|
|
void term_fontpush(struct termp *, enum termfont); |
void term_fontpush(struct termp *, enum termfont); |
void term_fontpop(struct termp *); |
void term_fontpop(struct termp *); |