tFix cursor position after backspace - ve - a minimal text editor (work in prog… | |
git clone git://src.adamsgaard.dk/ve | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit e110c48cae139c4f68653b9de4c454f155e0cbef | |
parent 7d3b3faea7d394ca5bb439bcccac82588698c800 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Tue, 6 Aug 2019 20:43:58 +0200 | |
Fix cursor position after backspace | |
Diffstat: | |
M input.c | 1 - | |
1 file changed, 0 insertions(+), 1 deletion(-) | |
--- | |
diff --git a/input.c b/input.c | |
t@@ -174,7 +174,6 @@ editor_process_keypress() | |
case 127: /* backspace */ | |
case CTRL_KEY('h'): | |
- editor_move_cursor('h'); | |
editor_delete_char_left(); | |
break; | |