server.Server.colors
TypeScript
- Python
- Ruby Unavailable
- Lua Unavailable
- TypeScript
- Rust
- Go Unavailable
- Java Unavailable
- .NET Unavailable
- C++ Unavailable
- Swift Unavailable
- Module
- server
- Declared in
- Server
- Package
- libtmux
- Source
- packages/libtmux/src/server.ts
- Other languages
- Python Ruby Lua Rust Go Java .NET C++ Swift
-
How many colours this server was told the terminal has.
In other ports How many colours the terminal was declared to have
- Python
libtmux.Server.colors - Ruby No source-verified Ruby equivalent is recorded for this operation.
- Lua No source-verified Lua equivalent is recorded for this operation.
- Rust
server.Server.colors - Go no equivalent on
Server - Java no equivalent on
Server - .NET no equivalent on
Server - C++ no equivalent on
Server - Swift no equivalent on
Server
- Python
Examples
new Server({ colors: 256 }).colors; // 256let server = libtmux::Server::builder().colors(256).build()?;assert_eq!(server.colors(), Some(256));0 declared, 0 inherited