tmlshock icon indicating copy to clipboard operation
tmlshock copied to clipboard

Fix terminal blank screen on invalid color input

Open mustafa-shahriar opened this issue 7 months ago • 0 comments

Passing an invalid color string or a number outside the 1–256 range causes the terminal to go blank. FlagColor should handle invalid input gracefully. Suggest adding a check for strconv.Atoi errors and out-of-range values, and fallback to a default

mustafa-shahriar avatar May 21 '25 12:05 mustafa-shahriar