commit | fd6315ec7f61b4170d243b0272f6f5362807849a | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Tue Mar 07 15:05:50 2000 +0000 |
committer | Guido van Rossum <guido@python.org> | Tue Mar 07 15:05:50 2000 +0000 |
tree | bca9edbeafe70307c163450c2fe39956b9b51f0a | |
parent | e066134f482f8e3fa427a9f84892b39faff72627 [diff] |
If we're in the current input and there's only whitespace beyond the cursor, erase that whitespace first. This avoids a particularly confusing case where hitting Return at the end of the command didn't do what it was expected to do -- because it wasn't considered to be at the end of the command. Now it is.