summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO4
-rw-r--r--gramscii.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/TODO b/TODO
index c84da67..0f4dc1c 100644
--- 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
diff --git a/gramscii.c b/gramscii.c
index f5a3425..2913fca 100644
--- 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";
}