IntelliJ IDEA Guide
Tips
Tutorials
Playlists
Technologies
Topics
About
Get IntelliJ IDEA
Up to Marco Codes - Building a Text Editor
Previous
5 of 16
Marco Codes - Building a Text Editor
Introduction & ANSI Escape Codes
Terminal Raw Mode & Terminal Attributes
Building The Text Viewer Skeleton
Getting Terminal Rows & Columns With The IOCTL API
Bugfixing Flickering & Cursor Positioning
The Problem with Arrow Up & Down and Key Mappings
How to Move your Cursor
How to Load and Display Text Files
Some Refactoring and Scrolling
Page Up and Page Down
Horizontal Scrolling
End Key
Cursor Snapping
Cursor Line Wrapping
MacOS and Windows Support
Summary
Next
Bugfixing Flickering & Cursor Positioning
Fixing bugs with flickering
Bugfixing Flickering & Cursor Positioning
Why the text viewer flickers when scrolling up or down
How to fix the flickering by making sure lines do not overflow
Getting Terminal Rows & Columns With The IOCTL API
The Problem with Arrow Up & Down and Key Mappings