Aptivi - Manual
ProjectsWebsiteBlog
Terminaux - Manual
Terminaux - Manual
  • Welcome!
  • Breaking changes
    • API v1.0
    • API v2.0
    • API v3.0
    • API v4.0
    • API v5.0
    • API v6.0
    • API v7.0
  • Usage
    • Preface
    • Console Tools
      • Console Checker
        • Console Size Requirements
      • Image Rendering
        • Icons
      • Console Writers
        • Individual Writers
        • Cyclic Writers
          • Geometric Shapes
          • Charts
          • Text
          • Artistic
          • Progress Bars
          • Lists and Calendars
          • Miscellaneous
        • Informational Boxes
      • Textual UI
        • Interactive TUI
        • Console Screen
        • Console Resize Listener
        • VT Sequences
      • Console Wrapper
      • Console Colors
      • Color Templates
      • Presentation System
      • Console Extensions
      • Nerd Fonts
      • Terminal Info
      • Test Fixtures
      • Terminal Structures
      • Console Logging
    • Input Reader
      • Shells
        • Shell Structure
          • Help System
          • Command Parsing
          • Command Information
          • Command Switches
          • Shell Presets
          • Command Aliasing
      • Other Input
        • Keybindings
        • Choice-based inputs
        • Editors and Viewers
        • Figlet Font Selector
        • Color Wheel
        • Spinner Selector
      • Reader State
      • Reader Settings
      • Syntax Highlighting
      • Pointer Events
    • Color Sequences
      • Color Model Conversions
      • Color Model Parsing
      • Interop with System.Drawing.Color
  • Report an issue
  • Source code
  • API Reference
Powered by GitBook
On this page
  • Hex editor and viewer
  • Text editor and viewer
Edit on GitHub
  1. Usage
  2. Input Reader
  3. Other Input

Editors and Viewers

Edit or view text or hex

Last updated 7 months ago

Terminaux provides a way to edit or view a hexadecimal representation of bytes or lines of text in an interactive way without any hassle. The following classes are available for you to use:

  • HexEditInteractive

    • Represents an interactive hex editor

  • HexViewInteractive

    • Represents an interactive hex viewer

  • TextEditInteractive

    • Represents an interactive text editor

  • TextViewInteractive

    • Represents an interactive text viewer

Hex editor and viewer

In the other hand, the interactive hex viewer only allows you to view a hexadecimal representation of each byte without any editing functionality. This allows quick viewing of bytes in hexadecimal.

You can consult the list of keybindings through the K key.

Text editor and viewer

The interactive text editor allows you to seamlessly and interactively edit multi-line text. Inspired by VIM, the popular extensible terminal text editor, this text editor features two modes:

  • Normal mode: You can perform some basic operations, such as finding and replacing, inserting a new line, removing a line, deleting a character, and entering the Insertion mode.

  • Insertion mode: You can write your own text wherever you want

In the other hand, the interactive text viewer only allows you to view what's written and to search for a portion of the text.

You can consult the list of keybindings through the K key.

The interactive hex editor allows you to edit either a file or a byte array byte by byte, while giving you basic editing abilities, such as replacing all occurrences of a byte value with another byte value, finding a byte value or a group of it, and so on. This is all done with the help of the in Terminaux to allow visual editing.

screen feature