179 Commits

Author SHA1 Message Date
Chapman Pendery 9db5beea23 fix: bad width calculations when characters are wide (#212)
* fix: bad width calculations when characters are wide

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

* fix: typo

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

---------

Signed-off-by: Chapman Pendery <cpendery@vt.edu>
2024-03-18 20:28:58 -07:00
Chapman Pendery 054bd00510 build: bump to 0.0.1-rc.10 (#211)
Signed-off-by: Chapman Pendery <cpendery@vt.edu>
2024-03-18 09:18:55 -07:00
Chapman Pendery 2c0d4df2e1 fix: alt buffer issue when entering vi (#210)
Signed-off-by: Chapman Pendery <cpendery@vt.edu>
2024-03-18 09:13:07 -07:00
Nicolás Quiroz 10c1a85e69 feat: add parent-term-exit option to help close parent terminal
* Update inshellisense commands and options

* fix: PR suggestions
2024-03-13 19:10:09 -07:00
Chapman Pendery 4556428ee8 build: update xterm to use @xterm/headless (#206)
Signed-off-by: Chapman Pendery <cpendery@vt.edu>
2024-03-10 23:19:38 -07:00
Chapman Pendery 9e7bef8e42 fix: PROMPT_COMMAND overriding precmd hook results for oh-my-bash (#203)
Signed-off-by: Chapman Pendery <cpendery@vt.edu>
2024-03-09 22:15:45 -08:00
Chapman Pendery 9907244548 fix: shell integration with oh-my-bash (#200)
Signed-off-by: Chapman Pendery <cpendery@vt.edu>
2024-03-09 14:58:12 -08:00
Chapman Pendery 599ebdd516 build: bump to 0.0.1-rc.9 (#198)
Signed-off-by: Chapman Pendery <cpendery@vt.edu>
2024-03-09 13:27:12 -08:00
Chapman Pendery 79712d0a9f feat: add keybinding support & configuration documentation / tweaks (#197)
* feat: add keybinding support

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

* docs: point to toml site

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

* docs: clarify example

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

* fix: failures when no config exists

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

---------

Signed-off-by: Chapman Pendery <cpendery@vt.edu>
2024-03-09 13:22:29 -08:00
Chapman Pendery b49703b135 docs: update readme (#196) 2024-03-09 10:59:07 -08:00
Chapman Pendery ce8025aaed feat: implement xonsh support (#195)
* feat: implement xonsh support (partial)

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

* feat: implement xonsh support (partial)

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

* refactor: xonsh support to work with new shell integration mechanism

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

* build: drop old xonsh integration

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

* feat: enable xonsh testing

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

* fix: generator test

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

* fix: newline chars

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

* fix: drop only clause

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

---------

Signed-off-by: Chapman Pendery <cpendery@vt.edu>
2024-03-08 18:32:25 -08:00
Chapman Pendery c4ab6cfa8d fix: reduce generator failures, add cwd tracking, and improve failure logging (#193)
* fix: reduce generator failures, add cwd tracking, and improve failure logging

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

* fix: update snapshot

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

* ci: drop suggestion detection test for now

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

* fix: add suggestion item

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

* fix: truncation on generator suggestion

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

---------

Signed-off-by: Chapman Pendery <cpendery@vt.edu>
2024-03-06 16:58:32 -08:00
Chapman Pendery a0b557ee25 fix: complete command hangs too long upon print (#192)
Signed-off-by: Chapman Pendery <cpendery@vt.edu>
2024-03-06 14:52:15 -08:00
Chapman Pendery a834bec66b fix: zsh integration to work with powerlevel10k / themes (#191)
Signed-off-by: Chapman Pendery <cpendery@vt.edu>
2024-03-06 11:09:16 -08:00
Chapman Pendery f646e29869 build: bump to 0.0.1-rc.8 (#190)
Signed-off-by: Chapman Pendery <cpendery@vt.edu>
2024-03-06 10:23:03 -08:00
Chapman Pendery b5075417dc ci: add detailed e2e tests & prebuilt node-pty (#188)
* ci: add detailed e2e tests

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

* fix: e2e test command

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

* ci: add link cmd to provide is command

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

* build: drop node-pty for node-pty prebuilds

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

* fix: ci issues / zsh config

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

* ci: drop .only for testing

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

* ci: add back other vms

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

* fix: add cursor detection

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

* test: add under test flag to status tests

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

* fix: use set shell for status check

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

---------

Signed-off-by: Chapman Pendery <cpendery@vt.edu>
2024-03-06 10:10:51 -08:00
Chapman Pendery b1777aa909 fix: bad shell integrations for zsh/fish (#189)
Signed-off-by: Chapman Pendery <cpendery@vt.edu>
2024-03-05 22:31:27 -08:00
Chapman Pendery 31920b1011 fix: up arrow with no suggestions should be a history access (#187)
Signed-off-by: Chapman Pendery <cpendery@vt.edu>
2024-03-05 22:02:29 -08:00
Chapman Pendery bddf56f2f0 fix: when filtering, the suggestions shouldn't shift from top view to bottom view (#186)
Signed-off-by: Chapman Pendery <cpendery@vt.edu>
2024-03-05 21:54:47 -08:00
Chapman Pendery ec841bba31 fix: stale suggestion appearing after command execution (#185)
Signed-off-by: Chapman Pendery <cpendery@vt.edu>
2024-03-05 21:30:35 -08:00
Chapman Pendery 8fecb01064 fix: cmd prompt controls when under test (#184)
* fix: cmd prompt controls when under test

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

* fix: null access on clear command

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

---------

Signed-off-by: Chapman Pendery <cpendery@vt.edu>
2024-03-05 21:12:58 -08:00
RetroX bca44981b2 fix: subCommands find problem (#179)
* fix: subCommands find problem

* Update src/runtime/runtime.ts

* Update src/runtime/runtime.ts

* style: fix linting

---------

Signed-off-by: Chapman Pendery <cpendery@microsoft.com>
2024-03-05 16:36:17 -08:00
Chapman Pendery 6ec8358151 fix: windows powershell shell integration & backspace (#183)
* fix: windows powershell shellIntegration & backspace

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

* fix: include cmd in backspace fix

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

---------

Signed-off-by: Chapman Pendery <cpendery@vt.edu>
2024-03-04 17:53:43 -08:00
Alan.He 5c78bf4974 fix: reset index after getSuggestions (#182) 2024-03-04 17:20:12 -08:00
Alan.He d2b1333006 build: add husky, support lint code when pre-commit (#178) 2024-03-04 17:04:43 -08:00