diff options
| author | Ray Strode <rstrode@redhat.com> | 2008-06-18 21:47:55 -0400 |
|---|---|---|
| committer | Ray Strode <rstrode@redhat.com> | 2008-06-18 21:47:55 -0400 |
| commit | 3a50fe6dc6ea27a5202c1acec6024beaf37ac5ed (patch) | |
| tree | 459e7a5060a8aba2f0d71e3cc8818dbde602fc73 /src | |
| parent | e219bb6e673136824bf1fd43eabcc0ed06ad2dd8 (diff) | |
Make new line return to column 0
Diffstat (limited to 'src')
| -rw-r--r-- | src/libplybootsplash/ply-window.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libplybootsplash/ply-window.c b/src/libplybootsplash/ply-window.c index 62dd73c..ae9ca76 100644 --- a/src/libplybootsplash/ply-window.c +++ b/src/libplybootsplash/ply-window.c @@ -257,6 +257,9 @@ ply_window_set_unbuffered_input (ply_window_t *window) cfmakeraw (&term_attributes); + /* Make \n return go to the beginning of the next line */ + term_attributes.c_oflag |= ONLCR; + if (tcsetattr (window->tty_fd, TCSAFLUSH, &term_attributes) != 0) return false; |
