mirror of
https://github.com/dw-0/kiauh.git
synced 2025-12-13 10:34:28 +05:00
refactor: don't clear scrollback on clear
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
This commit is contained in:
4
kiauh.sh
4
kiauh.sh
@@ -10,7 +10,7 @@
|
|||||||
#=======================================================================#
|
#=======================================================================#
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
clear
|
clear -x
|
||||||
|
|
||||||
# make sure we have the correct permissions while running the script
|
# make sure we have the correct permissions while running the script
|
||||||
umask 022
|
umask 022
|
||||||
@@ -110,7 +110,7 @@ function launch_kiauh_v6() {
|
|||||||
|
|
||||||
export PYTHONPATH="${entrypoint}"
|
export PYTHONPATH="${entrypoint}"
|
||||||
|
|
||||||
clear
|
clear -x
|
||||||
python3 "${entrypoint}/kiauh.py"
|
python3 "${entrypoint}/kiauh.py"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ from utils.input_utils import get_selection_input
|
|||||||
|
|
||||||
|
|
||||||
def clear() -> None:
|
def clear() -> None:
|
||||||
subprocess.call("clear", shell=True)
|
subprocess.call("clear -x", shell=True)
|
||||||
|
|
||||||
|
|
||||||
def print_header() -> None:
|
def print_header() -> None:
|
||||||
|
|||||||
Reference in New Issue
Block a user