Skip to content

Commit

Permalink
reset terminal before running Tig
Browse files Browse the repository at this point in the history
  • Loading branch information
psprint committed May 24, 2023
1 parent 64840a3 commit 1e2366b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion smart-consoles/iqnc
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ cmd-set-view(){local -A Qe=(main 0 preview 1 hist 2 tags 3 "" 0);iqnc_cmd_next $
cmd-show-stdin(){ZUI[HAVE_0_INPUT]=1;ZUI[IO_COUNT]=18;iqnc_cmd_next $CIN;}
# Commands
cmd-open-cmd(){zcurses end;eval "$@";-zui_glib_refresh;}
cmd-open-tig(){curses end;command tig "$@";-zui_glib_refresh;}
cmd-open-tig(){curses end;tput reset;command tig "$@";-zui_glib_refresh;}
cmd-commit(){zcurses end;command git commit -v "$@";cmd-ret;-zui_glib_refresh;}
cmd-push(){zcurses end;command git push "$@";cmd-ret;-zui_glib_refresh;}
cmd-pull(){zcurses end;command git pull "$@";cmd-ret;-zui_glib_refresh;}
Expand Down

0 comments on commit 1e2366b

Please sign in to comment.