audk/MdeModulePkg
Brian J. Johnson 851b044f0a MdeModulePkg/TerminalDxe: Improve TtyTerm cursor position tracking
When we print the last character on a line, the terminal driver wraps
CursorRow/CursorColumn to the beginning of the next line.  But the
terminal itself doesn't wrap its cursor until the next character is
printed.  That throws off the driver's cursor position tracking.

So when we have printed the last character on a line, and are not in
the middle of outputing an escape sequence, synchronize the terminal
with the driver by outputing CR+LF.  This matches the expected
behavior, and the behavior of the VGA console driver.

Only change the behavior of TtyTerm, not the other terminal types.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Brian Johnson <bjohnson@sgi.com>
Cc: Feng Tian <feng.tian@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Tested-by: Ryan Harkin <ryan.harkin@linaro.org>
Reviewed-by: Feng Tian <feng.tian@intel.com>
2016-10-27 09:11:14 +08:00
..
Application MdeModulePkg/UiApp: Fix incorrect question id 2016-09-12 18:26:11 +08:00
Bus MdeModulePkg/PciSioSerialDxe: Remove unused global variables 2016-09-28 16:17:33 +08:00
Core MdeModulePkg: Use IsZeroGuid API for zero GUID checking 2016-08-31 11:14:01 +08:00
Include MdeModulePkg: Add FrameBufferBltLib library class 2016-10-12 10:42:15 +08:00
Library MdeModulePkg/BMMUI: Add error handling codes 2016-10-19 11:37:52 +08:00
Logo MdeModulePkg/Logo: Add LogoDxe module 2016-09-28 16:22:27 +08:00
Universal MdeModulePkg/TerminalDxe: Improve TtyTerm cursor position tracking 2016-10-27 09:11:14 +08:00
Contributions.txt */Contributions.txt: Update example email address 2015-02-03 17:29:14 +00:00
License.txt Update copyright format 2012-04-24 06:49:39 +00:00
MdeModulePkg.dec MdeModulePkg/MdeModulePkg.dec: Fix EBC build failure of PciBus driver 2016-10-12 17:07:20 +08:00
MdeModulePkg.dsc MdeModulePkg: add ARM/AARCH64 requirements to .dsc 2016-10-20 09:13:44 +01:00
MdeModulePkg.uni MdeModulePkg: Add PcdPciDegradeResourceForOptionRom prompt&help to UNI 2016-10-25 10:52:44 +08:00
MdeModulePkgExtra.uni MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00