]> granicus.if.org Git - python/commit
If we're in the current input and there's only whitespace beyond the
authorGuido van Rossum <guido@python.org>
Tue, 7 Mar 2000 15:05:50 +0000 (15:05 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 7 Mar 2000 15:05:50 +0000 (15:05 +0000)
commitfd6315ec7f61b4170d243b0272f6f5362807849a
treebca9edbeafe70307c163450c2fe39956b9b51f0a
parente066134f482f8e3fa427a9f84892b39faff72627
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.
Tools/idle/PyShell.py