mirror of
https://gitea.com/gitea/tea.git
synced 2026-10-26 19:11:25 +01:00
fix: address verified review findings (terminal-output-1)
Signed-off-by: bircni <bircni@icloud.com>
This commit is contained in:
25 files changed
+175
-24
No files matched your search
@@ -10,7 +10,7 @@ import (
|
||||
)
|
||||
|
||||
// maxSGRLength bounds how many bytes of a possible SGR sequence are held back between writes.
|
||||
const maxSGRLength = 32
|
||||
const maxSGRLength = 256
|
||||
|
||||
// SafeWriter returns w unchanged when tty is false, so piped output stays byte-exact.
|
||||
// On a terminal it filters streamed server text like SafeText, and with allowSGR it keeps
|
||||
|
||||
Reference in new issue
Block a user