DisableStyling sets PTerm to RawOutput mode and disables all of PTerms styling. You can use this to print to text files etc. This also calls DisableColor.
()
| 59 | // You can use this to print to text files etc. |
| 60 | // This also calls DisableColor. |
| 61 | func DisableStyling() { |
| 62 | RawOutput = true |
| 63 | DisableColor() |
| 64 | } |
| 65 | |
| 66 | // RecalculateTerminalSize updates already initialized terminal dimensions. Has to be called after a terminal resize to guarantee proper rendering. Applies only to new instances. |
| 67 | func RecalculateTerminalSize() { |
searching dependent graphs…