mirror of
https://github.com/IlanCosman/tide.git
synced 2024-09-11 09:05:37 +03:00
Improve behavior of transient mode
This commit is contained in:
parent
5d17d4c6dc
commit
7c1497d4cc
@ -150,9 +150,8 @@ end"
|
||||
|
||||
if test "$tide_prompt_transient_enabled" = true
|
||||
function _tide_enter_transient
|
||||
commandline --is-valid
|
||||
# If commandline is complete (i.e pressing enter will produce a new prompt)
|
||||
if test $status != 2
|
||||
# If the commandline will be executed, or is empty
|
||||
if commandline --is-valid || test -z "$(commandline)"
|
||||
set -g _tide_transient
|
||||
set -g _tide_repaint
|
||||
commandline -f repaint
|
||||
|
Loading…
Reference in New Issue
Block a user