Lazy Hacker Editor
Fake code editor that writes real code (hopefully yours, probably from someone else) no matter which key you stroke.
Because nothing beats the eficiency of writing code already written.
Usage
USAGE:
lhe [FLAGS] [OPTIONS] <FILE>...
FLAGS:
-h, --help
Prints help information
-l, --highlight
Highlight some common code characters
--lps
Activate line per keypress, ignores -c, --cps
-V, --version
Prints version information
OPTIONS:
--color <color>
Text color (0-7): [default: 2]
-c, --cps <cps>
Set chars per keypress [default: 1]
--hcolor <hcolor>
Highlight color (0-7): [default: 7]
ARGS:
<FILE>...
Files to process
Example
lhe -l -c 5 src/main.rs
Exit with ^C. I hope you know what this means, """hacker""".
Changelog
v0.1.0
- read file
- write a char on key down
- ignore ESC
v0.5.0
- read from multiple files
- detect term resize
- opt
-V, --version - opt
-h, --help - opt chars per stroke
-c, --cps N - opt color
--color - rudimentary code highlight (common symbols)
- opt highlight
-l, --highlight - opt highlight color
--hcolor
v0.6.0
- opt use line per stroke:
--lps - control read errors
- control Ctrl+C clean exit
v0.6.1
- fix build
Backlog
- add gif to README
- add a logo
- get rid of ncurses?
License
Lazy Hacker Editor Copyright (C) 2020 Ignacio Lago
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

