mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-22 04:10:07 +00:00
wrap z4h-clear-screen-{soft,hard}-top
This commit is contained in:
parent
5e2422df50
commit
d7861fcfa0
1 changed files with 3 additions and 1 deletions
|
@ -7447,7 +7447,7 @@ function _p9k_widget_hook() {
|
|||
|
||||
eval "$__p9k_intro"
|
||||
(( _p9k__restore_prompt_fd )) && _p9k_restore_prompt $_p9k__restore_prompt_fd
|
||||
if [[ $1 == clear-screen ]]; then
|
||||
if [[ $1 == (clear-screen|z4h-clear-screen-*-top) ]]; then
|
||||
P9K_TTY=new
|
||||
_p9k__expanded=0
|
||||
_p9k_reset_prompt
|
||||
|
@ -7519,6 +7519,8 @@ function _p9k_wrap_widgets() {
|
|||
visual-line-mode
|
||||
deactivate-region
|
||||
clear-screen
|
||||
z4h-clear-screen-soft-top
|
||||
z4h-clear-screen-hard-top
|
||||
send-break
|
||||
$_POWERLEVEL9K_HOOK_WIDGETS
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue