terminalinput

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DisableRawMode

func DisableRawMode()

DisableRawMode restores the terminal to its original state.

func EnableRawMode

func EnableRawMode()

EnableRawMode sets the terminal to raw mode.

func ReadInput

func ReadInput(prompt string) string

ReadInput reads input from the terminal with real-time backspace handling.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳