printable

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package printable makes file text safe to show: a terminal acts on control and bidirectional characters instead of showing them, so a file could erase or reorder what the user reads.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Escape

func Escape(s string) string

Escape returns s unchanged if every character is printable and s does not start with a quote; otherwise it returns s Go-quoted. Distinct inputs never look the same.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL