123 Commits

Author SHA1 Message Date
c384780028 Comments 2024-04-24 21:58:12 +04:00
9493b991d1 Comments and move stuff around 2024-04-24 21:54:35 +04:00
2d3f89e290 Todos 2023-02-17 04:43:15 +04:00
45c0858789 Small getDpiScaling update 2023-02-04 05:21:06 +04:00
a2ee354d77 Windows DPI awareness 2023-02-04 04:42:38 +04:00
c6ab25ba41 Upgrade to latest nmage 2023-02-04 03:17:35 +04:00
6f3e38b41c Correct comment 2023-01-17 04:28:44 +04:00
7c3b766064 Fix hidden text rendering issue by splitting bg/fg rendering into two buffers and draw calls 2023-01-17 04:25:25 +04:00
d15f80b8a2 Bug note 2022-09-26 00:27:51 +04:00
86dc7c4b4e Basic drawing of cmd buffer through glyph grid 2022-09-25 05:18:06 +04:00
32f086242c Continue SGR parse even if reset is found+Heap pprof profile 2022-09-25 05:03:57 +04:00
81f203a59f Remove prints 2022-09-25 03:03:08 +04:00
cee34de278 Make bg colors work with spaces 2022-09-25 03:00:44 +04:00
a127b72960 Support multiple options in one SGR ansi cmd 2022-09-25 02:39:50 +04:00
976682d2d2 Don't show text in the cmd entry area 2022-09-24 07:15:16 +04:00
b6c468a23b Rendering from an in-mem glyph grid 2022-09-24 07:05:21 +04:00
b5797c69f9 Rename p *nterm to nt *nterm 2022-09-24 05:09:39 +04:00
c0c5baa98c Start supporting setting bg color from ansi code 2022-08-02 06:08:07 +04:00
d296fb2dd6 Simplify glyph shader 2022-08-02 05:45:14 +04:00
8863a289d7 Ability to set cell background colors 2022-08-02 05:32:56 +04:00
054eaebe9a Comment out saving debug atlas 2022-08-02 03:32:02 +04:00
9d7d283ca7 Optimize getCharGridPosX for very long lines 2022-08-02 03:27:54 +04:00
0630092ceb Rename paras to lines 2022-08-02 02:46:57 +04:00
e388e16e71 Use binary search in GetParaFromTextBufIndex 2022-08-01 07:14:35 +04:00
7bb7e25e0d Handle long lines and partially visibile paragraphs 2022-08-01 06:53:07 +04:00
dd61b2a871 Rendering based on lines 2022-08-01 05:22:11 +04:00
031f80f438 Rename struct program->nterm+improve comments 2022-08-01 04:22:05 +04:00
f3a9a70c73 Fix scrolling back causing empty lines sometimes 2022-08-01 03:41:14 +04:00
05fb837400 Make SepLinePos part of program struct 2022-08-01 03:30:46 +04:00
06599748eb Alhamdullah working scrolling that respects wrapped text 2022-08-01 03:27:54 +04:00
4df40db7f7 Somewhat doing proper scrollback with wrapping 2022-07-29 08:51:50 +04:00
10372dd743 Fix paragraph viewing bugs+indexing helpers for ring buffer 2022-07-24 20:56:20 +04:00
75c33325f7 Ability to get pointers from ring buffer 2022-07-24 18:21:58 +04:00
854fb7ac64 Starting using lines to render+rect glyph draw funcs 2022-07-24 07:37:43 +04:00
4c458c3c55 Make ParseLines much faster using bytes.IndexByte 2022-07-24 05:37:20 +04:00
bea69429f9 Detect lines as they come in+sprintf in assert so it gets optimized away on release mode :) 2022-07-24 05:06:07 +04:00
46f958c935 Remove insert/delete from ring+track total written elements to ring 2022-07-24 03:21:09 +04:00
a531d5904b Fix bug in ViewsFromTo where from might clip first value 2022-07-24 02:38:12 +04:00
641e3eda98 Correct and simplify textBuf drawing using the new ViewsFromTo+ new ring funcs 2022-07-23 03:08:44 +04:00
76992472d4 Correct arg quote handling in windows+place return at end of cmdBuf 2022-07-22 20:07:30 +04:00
b6f39bd1ba Use Esc[ bytes for ansi detection+move ansi to its own package 2022-07-22 19:58:20 +04:00
0d2e747739 Optimize idle cpu usage by implementing our own fps limiter 2022-07-22 18:52:35 +04:00
90b0bc0ae9 Scroll by lines that respects ring buf+iterator prevN/nextN+it.Len 2022-07-20 02:18:36 +04:00
b4f06bda54 Ring buffer iterator 2022-07-19 21:21:54 +04:00
0fdebbeafe Comment 2022-07-19 18:16:49 +04:00
874c62d579 Scroll by lines+mutex when writing to text buffer 2022-07-19 18:10:23 +04:00
e2feafa89d New ansi system to support anything later+ 8/16 bit color 2022-07-17 01:29:48 +04:00
70cf0e6008 Implement NextAnsiCode 2022-07-16 22:21:07 +04:00
648a9c7500 Avoid unnecessary []byte->string conversions 2022-07-16 21:03:57 +04:00
6f1fc396cb Use a byte buffer for textBuf 2022-07-16 21:01:29 +04:00