mrjones2014 / ctrlg

A command line context switcher, written in Rust :crab:
https://crates.io/crates/ctrlg
MIT License
30 stars 1 forks source link

[Bug]: If cancelled (no directory selected), prompt does not redraw correctly #41

Closed mrjones2014 closed 2 years ago

mrjones2014 commented 2 years ago

Similar Issues

Description

In this gif, I press ctrl+g to trigger ctrlg, then esc, then space.

CleanShot-2022-01-11-at-07 49 17

Minimal Configuration to Reproduce

config.fish

ctrlg init fish | source

Additional Details

I think we just need a commandline -f repaint as an else to the if test -n "$ctrlg_selected_dir in the shell plugin