deconfuse

package
v0.0.0-...-282c629 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package deconfuse provides convinient wrappers to conver UTF confusable runes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DiffOut

func DiffOut(src io.Reader, dst io.Writer, ignoreASCII bool) (err error)

Deconfuses src into dst along side SGR annotations to display in terminal.

If ignoreASCII is set, confusable ASCII runes are ignore.

func PlainOut

func PlainOut(src io.Reader, dst io.Writer, ignoreASCII bool) (err error)

Deconfuses src into dst.

If ignoreASCII is set, confusable ASCII runes are ignore.

Types

type Defunc

type Defunc func(io.Reader, io.Writer, bool) error

Directories

Path Synopsis
Code generated.
Code generated.

Jump to

Keyboard shortcuts

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