add visual in status bar - gramscii - A simple editor for ASCII box-and-arrow charts
DIR Log
DIR Files
DIR Refs
DIR Tags
DIR README
DIR LICENSE
---
DIR commit 8d84f5933289b91877b2c0a611da63140d8874b2
DIR parent 130977d60200ae44ca6e27474a3127d1e8cd34b7
HTML Author: KatolaZ <katolaz@freaknet.org>
Date: Sat, 20 Jul 2019 18:33:42 +0100
add visual in status bar
Diffstat:
M TODO | 4 +++-
M gramscii.c | 2 ++
2 files changed, 5 insertions(+), 1 deletion(-)
---
DIR diff --git a/TODO b/TODO
@@ -1,18 +1,20 @@
+ optimize redraws (i.e., avoid to redraw if possible)
- (?) change cursor shape according to action
- auto-arrow 'A' (automatic end-char)
+- change screen management (i.e., use an array of lines)
- read file at point
+ visual selection
- crop
- yank/put
* fill
* delete
-- change screen management (i.e., use an array of lines)
- undo (by storing lines changed across insert/remove operations)
- manage special chars (DEL/CANC) during text insert
(also do not print unmanaged chars!)
- get screen geometry
- allow scrolling (both vertical and horizontal)
+* add "vis" (for visual) in mode strings
+* implement "." to reset styles to defaults.
* load from file
* check if modified on exit
* write to new file / default file
DIR diff --git a/gramscii.c b/gramscii.c
@@ -109,6 +109,8 @@ char* state_str(){
return "arr";
case DEL:
return "del";
+ case VIS:
+ return "vis";
default:
return "ERR";
}