Skip to main content

Module input

Module input 

Source
Expand description

Input buffering and stack management for zshrs

Direct port from zsh/Src/input.c

This module handles:

  • Reading input from files, strings, and the line editor
  • Input stack for alias expansion and history substitution
  • Character-by-character input with push-back support
  • Meta-character encoding for internal tokens

Modules§

flags
Input flags

Structs§

InputBuffer
Input buffer state
StringInput
String input source for simple string parsing

Constants§

META
Meta character marker

Functions§

meta_decode
Decode a meta character
zstuff
Read entire file into memory