Acidanthera UEFI Development Kit based on EDK II edk2-stable202311
Go to file
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
AppPkg AppPkg: Update email and URL. 2016-10-26 09:34:34 -07:00
ArmPkg ArmPkg/ArmDmaLib: add missing DxeServicesTableLib dependency 2016-10-26 08:54:45 +01:00
ArmPlatformPkg ArmPlatformPkg: remove ARM BDS 2016-10-26 18:34:17 +01:00
ArmVirtPkg ArmVirtPkg: disable deprecated interfaces 2016-10-25 10:46:44 +02:00
BaseTools edksetup.sh, BaseTools/BuildEnv: add --reconfig support 2016-10-24 13:53:16 +01:00
BeagleBoardPkg BeagleBoardPkg: move to generic BDS 2016-10-26 09:20:07 +01:00
Conf EDK II: Add .gitignore 2014-10-14 16:08:15 +00:00
CorebootModulePkg CorebootModulePkg: Fix memmap issue 2016-10-26 17:11:54 -07:00
CorebootPayloadPkg CorebootPayloadPkg: Notify EndOfDxe and install ReadyToLock protocol. 2016-10-26 15:38:33 -07:00
CryptoPkg CryptoPkg/OpensslLib: Upgrade OpenSSL version to 1.0.2j 2016-09-30 09:18:45 +08:00
DuetPkg DuetPkg DxeIpl and EfiLdr: Add the missing EFIAPI for the function 2016-10-12 20:35:11 +08:00
EdkCompatibilityPkg EdkCompatibilityPkg: Fix typos in comments 2016-10-21 16:40:50 +08:00
EdkShellBinPkg */Contributions.txt: Update example email address 2015-02-03 17:29:14 +00:00
EdkShellPkg */Contributions.txt: Update example email address 2015-02-03 17:29:14 +00:00
EmbeddedPkg EmbeddedPkg: Fix typos in comments 2016-10-19 16:31:58 +01:00
EmulatorPkg EmulatorPkg: Fix typos in comments and variables 2016-10-19 13:32:20 -07:00
FatBinPkg FatBinPkg: Change to 2-clause BSD license 2016-04-22 00:55:21 -07:00
FatPkg FatPkg/FatPei: Use PcdRecoveryFileName PCD. 2016-10-12 09:15:25 +08:00
IntelFrameworkModulePkg IntelFrameworkModulePkg: Fix typos in comments 2016-10-24 09:09:06 +08:00
IntelFrameworkPkg IntelFrameworkPkg: Fix typos in comments 2016-10-24 09:09:26 +08:00
IntelFsp2Pkg IntelFsp2Pkg: Fix typos in comments 2016-10-24 09:26:31 +08:00
IntelFsp2WrapperPkg IntelFsp2WrapperPkg: Fix a typo in the comment 2016-10-24 09:26:32 +08:00
IntelFspPkg IntelFspPkg: Fix typos in comments 2016-10-24 09:26:28 +08:00
IntelFspWrapperPkg IntelFspWrapperPkg: Fix typos in comments 2016-10-24 09:26:30 +08:00
IntelSiliconPkg IntelSiliconPkg: Fixed bug in IgdOpregion spec 2016-10-18 03:32:41 -07:00
MdeModulePkg MdeModulePkg/TerminalDxe: Improve TtyTerm cursor position tracking 2016-10-27 09:11:14 +08:00
MdePkg MdePkg ACPI60: Update MADT Revision per ACPI 6.0 Errata A 2016-10-26 13:45:24 +08:00
NetworkPkg NetworkPkg: Support bracketed IPv6 address during a redirection in iSCSI 2016-10-26 16:43:31 +08:00
Nt32Pkg Nt32Pkg WinNtSimpleFileSystemDxe: Correct file length. 2016-10-11 10:17:25 +08:00
Omap35xxPkg Omap35xxPkg: enable -DDISABLE_NEW_DEPRECATED_INTERFACES 2016-10-26 08:55:16 +01:00
OptionRomPkg OptionRomPkg: Fix GCC build failure 2016-10-09 11:03:27 +08:00
OvmfPkg OvmfPkg/XenConsoleSerialPortLib: don't include <Uefi/UefiBaseType.h> 2016-10-26 12:03:39 +02:00
PcAtChipsetPkg PcAtChipsetPkg AcpiTimerLib: Clear bits [31:24] after reading by IoRead32() 2016-10-11 13:02:43 +08:00
PerformancePkg PerformancePkg DSC: Add build option to disable deprecated APIs 2016-08-08 11:00:09 +08:00
QuarkPlatformPkg QuarkPlatformPkg: Fix typos in comments 2016-10-25 13:44:03 -07:00
QuarkSocPkg QuarkSocPkg: Fix typos in comments 2016-10-25 13:58:51 -07:00
SecurityPkg SecurityPkg: SmmTcg2PhysicalPresenceLib: Fix coding style issue 2016-10-21 23:09:37 +08:00
ShellBinPkg ShellBinPkg Arm/AArch64 Shell binary update 2016-08-02 12:25:13 +02:00
ShellPkg ShellPkg: update ping to use timer service instead of timer arch protocol . 2016-10-25 15:16:43 +08:00
SourceLevelDebugPkg SourceLevelDebugPkg: Fix typos in comments 2016-10-24 09:10:15 +08:00
StdLib StdLib/LibC ARM AARCH64: do not redefine compiler intrinsics 2016-08-09 10:10:12 +02:00
StdLibPrivateInternalFiles StdLib: Clarify and improve comments. 2016-01-06 00:31:42 +00:00
UefiCpuPkg UefiCpuPkg: Fix typos in comments 2016-10-24 09:09:48 +08:00
UnixPkg UnixPkg: Remove UnixPkg files (It is replaced by EmulatorPkg) 2013-07-29 21:09:55 +00:00
Vlv2DeviceRefCodePkg Vlv2DeviceRefCodePkg/ValleyView2Soc: Remove the unused code 2016-08-03 11:02:19 +08:00
Vlv2TbltDevicePkg Vlv2TbltDevicePkg:Signal End of Dxe Event. 2016-09-14 13:22:07 +08:00
.gitignore EDK II: Add .gitignore 2014-10-14 16:08:15 +00:00
BuildNotes2.txt BaseTools: Updated BuildNotes URLs 2016-03-25 09:46:44 +08:00
Edk2Setup.bat Edk2Setup.bat: Support building platforms with Python source 2016-10-24 10:49:19 +08:00
Maintainers.txt Maintainers.txt: Add Giri as IntelFsp2*Pkg, IntelSiliconPkg maintainer 2016-09-08 23:36:45 +08:00
edksetup.bat edksetup.bat: make sure BASE_TOOLS_PATH be set correctly 2016-10-26 13:45:45 +08:00
edksetup.sh edksetup.sh, BaseTools/BuildEnv: add --reconfig support 2016-10-24 13:53:16 +01:00