Terry J. Reedy added the comment:
To modify what I said, Idle only auto-expands literal tabs entered into an
editor window with the Tab key. When one is doing such entry, all key
sequences are subject to interception, so this is nothing special.
Tabs chars put in a string with '\t' or '\x09'
Changes by Terry J. Reedy tjre...@udel.edu:
--
resolution: - duplicate
stage: - resolved
status: open - closed
superseder: - IDLE does not display \b backspace correctly.
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24572
Terry J. Reedy added the comment:
Idle expands tabs to spaces, if asked to do so. It otherwise passes user code
generated chars to tkinter, which passes them on to tk, which eventually passes
them on to the OS gui widgets. I will say more on the existing issue.
--
nosy: +terry.reedy
Martin Panter added the comment:
See also Issue 23220, specifically about the backspace control code.
I understand the only control codes that Idle handles are newlines (line feed,
\n) and tabs (\t).
--
nosy: +vadmium
title: IDLE Text Output With ASCII Codes Not Working - IDLE Text