wcwidth

package module
v0.0.0-...-c03fb6f Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2025 License: MIT Imports: 1 Imported by: 1

Documentation

Overview

Package wcwidth provides utilities for calculating character width.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RuneWidth deprecated

func RuneWidth(r rune) int

RuneWidth returns fixed-width width of rune.

Deprecated: this is now a wrapper around go-runewidth. Use go-runewidth directly.

func StringWidth deprecated

func StringWidth(s string) (n int)

StringWidth returns fixed-width width of string.

Deprecated: this is now a wrapper around go-runewidth. Use go-runewidth directly.

Types

This section is empty.

Jump to

Keyboard shortcuts

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