Revision 49c07ce3 image_creator/dialog_main.py
b/image_creator/dialog_main.py | ||
---|---|---|
178 | 178 |
if len(field[0]) > label_len: |
179 | 179 |
label_len = len(field[0]) |
180 | 180 |
|
181 |
input_len = width - label_len - 2
|
|
181 |
input_len = width - label_len - 1
|
|
182 | 182 |
|
183 | 183 |
line = 1 |
184 | 184 |
for field in fields: |
... | ... | |
186 | 186 |
item = field[1] |
187 | 187 |
item_len = field[2] |
188 | 188 |
cmd.extend((label, str(line), str(1), item, str(line), |
189 |
str(label_len + 2), str(input_len), str(item_len)))
|
|
189 |
str(label_len + 1), str(input_len), str(item_len)))
|
|
190 | 190 |
line += 1 |
191 | 191 |
|
192 | 192 |
code, output = self._perform(*(cmd,), **kwargs) |
Also available in: Unified diff