Text Editor E01 - How to use ANSI Escape Codes & Call Native APIs with Java

Опубликовано: 06 Сентябрь 2022
на канале: Marco Codes
14,208
387

Have you ever wanted to know how text editors work? How shell scripts change terminal text colors, update lines without scrolling, or move the cursor around?
Surprise, surprise, even as Java Devs, we can do this! In this series, l'll walk you through building a terminal-based text editor with Java.
Part 1: How to use ANSI escape codes and native C text input libraries to do fancy text output with Java. Let’s get started!

► Source Repository
https://github.com/marcobehlerjetbrai... - Branch: Episode 1

► Timestamps
00:00 Intro
00:54 Project Notes
01:14 ANSI Escape Codes
06:04 Terminal Raw Mode
07:30 Setting Terminal Attributes With The Termios API
20:39 Building The Text Viewer Skeleton
24:58 Getting Terminal Rows & Columns With The IOCTL API
27:39 Bugfixing: Flickering & Cursor Positioning
28:51 Teaser
29:15 The End

► Acknowledgements

A BIG thank you goes out to:

Paige Ruten - https://viewsourcecode.org/snaptoken/
antirez - http://antirez.com/news/108

► FOLLOW ME

  / marcobehler  
https://www.marcobehler.com


Смотрите видео Text Editor E01 - How to use ANSI Escape Codes & Call Native APIs with Java онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Marco Codes 06 Сентябрь 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 14,208 раз и оно понравилось 387 людям.