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.m4.bash | 3 --- 1 file changed, 3 deletions(-) (limited to 'incdec.m4.bash') diff --git a/incdec.m4.bash b/incdec.m4.bash index 61e7f47..ffa9854 100644 --- a/incdec.m4.bash +++ b/incdec.m4.bash @@ -48,7 +48,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 [ \ @@ -72,9 +71,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