diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2020-04-20 14:20:46 -0700 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2020-04-20 14:20:46 -0700 |
| commit | 69bc783ff9ebc2344dab14ef7bd140c87d31733b (patch) | |
| tree | 86634479e7c3959a58e3987780564acce51e7e32 /bterm.h | |
| parent | 8eedc8b72620d8dc69da9296d79569375a1da5ba (diff) | |
Slightly optimized column rendering by using the sequence for moving
column position instead of row,col
Diffstat (limited to 'bterm.h')
| -rw-r--r-- | bterm.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -76,6 +76,7 @@ typedef enum { #define T_OFF(opt) "\033[?" opt "l" #define move_cursor(f, x, y) fprintf((f), "\033[%d;%dH", (int)(y)+1, (int)(x)+1) +#define move_cursor_col(f, x) fprintf((f), "\033[%d`", (int)(x)+1) typedef struct { int key; |
