OSDN Git Service
(root)
/
android-x86
/
external-parted.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a8bfdc
)
Make ---pretend-input-tty inhibit output word-wrap.
author
Jim Meyering
<jim@meyering.net>
Mon, 7 May 2007 14:51:29 +0000
(16:51 +0200)
committer
Jim Meyering
<jim@meyering.net>
Mon, 7 May 2007 14:57:30 +0000
(16:57 +0200)
* parted/ui.c (screen_width): Use effectively-unlimited screen width
with ---pretend-input-tty, just as for '--script' mode.
parted/ui.c
patch
|
blob
|
history
diff --git
a/parted/ui.c
b/parted/ui.c
index
25700ac
..
fb311e2
100644
(file)
--- a/
parted/ui.c
+++ b/
parted/ui.c
@@
-213,7
+213,7
@@
screen_width ()
{
int width = 0;
- if (opt_script_mode)
+ if (opt_script_mode
|| pretend_input_tty
)
return 32768; /* no wrapping ;) */
/* HACK: don't specify termcap separately - it'll annoy the users. */