tFix cursor position after backspace - ve - a minimal text editor (work in progress)
HTML git clone git://src.adamsgaard.dk/ve
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit e110c48cae139c4f68653b9de4c454f155e0cbef
DIR parent 7d3b3faea7d394ca5bb439bcccac82588698c800
HTML Author: Anders Damsgaard <anders@adamsgaard.dk>
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(-)
---
DIR 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;