Add util function to get terminal size

This commit is contained in:
Romain Vimont
2021-11-11 15:22:39 +01:00
parent 3f51a2ab43
commit 38332f683c
3 changed files with 74 additions and 0 deletions

View File

@@ -29,6 +29,7 @@ src = [
'src/util/process.c',
'src/util/strbuf.c',
'src/util/str_util.c',
'src/util/term.c',
'src/util/thread.c',
'src/util/tick.c',
]
@@ -189,6 +190,7 @@ if get_option('buildtype') == 'debug'
'src/options.c',
'src/util/strbuf.c',
'src/util/str_util.c',
'src/util/term.c',
]],
['test_clock', [
'tests/test_clock.c',