Commit 5ff2dceb authored by Nikos Skalkotos's avatar Nikos Skalkotos
Browse files

Force TERM=linux in snf-mkimage under xterm

Works better this way in OpenSUSE
parent a8943421
......@@ -199,6 +199,10 @@ def _dialog_form(self, text, height=20, width=60, form_height=15, fields=[],
def main():
# In OpenSUSE dialog is buggy under xterm
if os.environ['TERM'] == 'xterm':
os.environ['TERM'] = 'linux'
d = dialog.Dialog(dialog="dialog")
# Add extra button in dialog library
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment