mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Add terminal width detection to llvm::sys::Process. This is needed to
fix Clang PRs 4148 and 4183. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71448 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -94,6 +94,19 @@ namespace sys {
|
||||
/// the user rather than being put on a pipe or stored in a file.
|
||||
static bool StandardErrIsDisplayed();
|
||||
|
||||
/// This function determines the number of columns in the window
|
||||
/// if standard output is connected to a "tty" or "console"
|
||||
/// window. If standard output is not connected to a tty or
|
||||
/// console, or if the number of columns cannot be determined,
|
||||
/// this routine returns zero.
|
||||
static unsigned StandardOutColumns();
|
||||
|
||||
/// This function determines the number of columns in the window
|
||||
/// if standard error is connected to a "tty" or "console"
|
||||
/// window. If standard error is not connected to a tty or
|
||||
/// console, or if the number of columns cannot be determined,
|
||||
/// this routine returns zero.
|
||||
static unsigned StandardErrColumns();
|
||||
/// @}
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user