feat: implement isterm (#87)

* docs: notes about initial implementation

Signed-off-by: Chapman Pendery <cpendery@vt.edu>

* chore: partial impl of isterm

Signed-off-by: Chapman Pendery <cpendery@vt.edu>

* fix: restore original data echo, clear still breaks

Signed-off-by: Chapman Pendery <cpendery@vt.edu>

* fix: adjust incoming backspace so full line delete doesn't happen

Signed-off-by: Chapman Pendery <cpendery@vt.edu>

* fix: term size giving confusing clear issues

Signed-off-by: Chapman Pendery <cpendery@vt.edu>

* fix: handle wrapped text & detecting when output is under prompt

Signed-off-by: Chapman Pendery <cpendery@vt.edu>

* feat: add detection for if the cursor is in a suggestable position

Signed-off-by: Chapman Pendery <cpendery@vt.edu>

* fix: add resize handler

Signed-off-by: Chapman Pendery <cpendery@vt.edu>

* fix: bash initial prompt detection & clear conflict

Signed-off-by: Chapman Pendery <cpendery@vt.edu>

* feat: add better debugging logging support to isterm

Signed-off-by: Chapman Pendery <cpendery@vt.edu>

* refactor: use es private field syntax

Signed-off-by: Chapman Pendery <cpendery@vt.edu>

* test: isterm

Signed-off-by: Chapman Pendery <cpendery@vt.edu>

* ci: update for node-pty

Signed-off-by: Chapman Pendery <cpendery@vt.edu>

* ci: add pwsh prompt setup for testing

Signed-off-by: Chapman Pendery <cpendery@vt.edu>

* style: fix lint issue

Signed-off-by: Chapman Pendery <cpendery@vt.edu>

* ci: try lf to fix issue

Signed-off-by: Chapman Pendery <cpendery@vt.edu>

* ci: enforce lf via gitattributes

Signed-off-by: Chapman Pendery <cpendery@vt.edu>

* ci: tweak config

Signed-off-by: Chapman Pendery <cpendery@vt.edu>

* ci: rollback types upgrade

Signed-off-by: Chapman Pendery <cpendery@vt.edu>

* ci: drop macos builds for now

Signed-off-by: Chapman Pendery <cpendery@vt.edu>

* ci: disable logging

Signed-off-by: Chapman Pendery <cpendery@vt.edu>

* test: unix shells

Signed-off-by: Chapman Pendery <cpendery@vt.edu>

* ci: use step conditions

Signed-off-by: Chapman Pendery <cpendery@vt.edu>

* ci: use condition for pwsh setup

Signed-off-by: Chapman Pendery <cpendery@vt.edu>

* ci: disable isterm tests

Signed-off-by: Chapman Pendery <cpendery@vt.edu>

---------

Signed-off-by: Chapman Pendery <cpendery@vt.edu>
This commit is contained in:
Chapman Pendery
2023-11-20 13:54:39 -08:00
committed by GitHub
parent 0736ad81d2
commit 930381cbf9
14 changed files with 764 additions and 31 deletions
+1
View File
@@ -0,0 +1 @@
* text=auto eol=lf