From 685d35ca5ea0a976c670cd533533b03a68951c2d Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sun, 29 Aug 2021 00:51:44 +0200 Subject: incdec.bash: Remove start position debug prints and TODO This works now. --- incdec.bash | 3 --- 1 file changed, 3 deletions(-) (limited to 'incdec.bash') diff --git a/incdec.bash b/incdec.bash index 4b621f7..338afae 100644 --- a/incdec.bash +++ b/incdec.bash @@ -102,7 +102,6 @@ function __readline_incdec_increment { local new_line_length="${#READLINE_LINE}" local start_position="${result%#*}" - echo "$start_position .. $READLINE_POINT" # If a negative sign was removed, keep point where it was. if [ \ @@ -126,9 +125,7 @@ function __readline_incdec_decrement { local new_line_length="${#READLINE_LINE}" local start_position="${result%#*}" - echo "$start_position .. $READLINE_POINT" - # TODO: Point should only move when it's over the number. No, actually when it's >= the start of the number. # If a negative sign was added, keep point where it was. if [ \ "$old_line_length" -lt "$new_line_length" \ -- cgit v1.2.3