mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-10 05:33:51 -04:00
util.h: new header file defining commonly used macros
This commit is contained in:
parent
fc2e385d87
commit
69c3e74498
14 changed files with 18 additions and 39 deletions
3
csi.c
3
csi.c
|
|
@ -16,8 +16,7 @@
|
|||
#include "vt.h"
|
||||
#include "selection.h"
|
||||
#include "sixel.h"
|
||||
|
||||
#define min(x, y) ((x) < (y) ? (x) : (y))
|
||||
#include "util.h"
|
||||
|
||||
#define UNHANDLED() LOG_DBG("unhandled: %s", csi_as_string(term, final, -1))
|
||||
#define UNHANDLED_SGR(idx) LOG_DBG("unhandled: %s", csi_as_string(term, 'm', idx))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue