Nix 2.26.3
Nix, the purely functional package manager; unstable internal interfaces
 
Loading...
Searching...
No Matches
terminal.hh
Go to the documentation of this file.
1#pragma once
3
4#include <limits>
5#include <string>
6
7namespace nix {
12bool isTTY();
13
21std::string filterANSIEscapes(std::string_view s,
22 bool filterAll = false,
23 unsigned int width = std::numeric_limits<unsigned int>::max());
24
30void updateWindowSize();
31
38std::pair<unsigned short, unsigned short> getWindowSize();
39
40}
return s
Definition lexer.l:459