diff options
| author | Teddy Wing | 2021-08-29 00:51:44 +0200 |
|---|---|---|
| committer | Teddy Wing | 2021-08-29 00:51:44 +0200 |
| commit | 685d35ca5ea0a976c670cd533533b03a68951c2d (patch) | |
| tree | cc1d73ee05daf4b905589296b6b1553529de6c0e | |
| parent | 40289847cae91a317a660d38ec4c6a48164f58f6 (diff) | |
| download | readline-incdec-685d35ca5ea0a976c670cd533533b03a68951c2d.tar.bz2 | |
incdec.bash: Remove start position debug prints and TODO
This works now.
| -rw-r--r-- | incdec.bash | 3 | ||||
| -rw-r--r-- | incdec.m4.bash | 3 |
2 files changed, 0 insertions, 6 deletions
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" \ 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" \ |
