Gentoo Archives: gentoo-commits

From: Sven Eden <sven.eden@×××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/ufed:master commit in: /
Date: Fri, 01 Feb 2013 10:49:52
Message-Id: 1359301293.5c5775520fdd312ceb6837640a1be559980f5477.yamakuzure@gentoo
1 commit: 5c5775520fdd312ceb6837640a1be559980f5477
2 Author: Sven Eden <sven.eden <AT> gmx <DOT> de>
3 AuthorDate: Sun Jan 27 15:41:33 2013 +0000
4 Commit: Sven Eden <sven.eden <AT> gmx <DOT> de>
5 CommitDate: Sun Jan 27 15:41:33 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/ufed.git;a=commit;h=5c577552
7
8 Moved prompt back to the left side.
9
10 ---
11 ufed-curses-checklist.c | 1 +
12 ufed-curses.c | 4 ++++
13 2 files changed, 5 insertions(+), 0 deletions(-)
14
15 diff --git a/ufed-curses-checklist.c b/ufed-curses-checklist.c
16 index 00700bd..8c9b408 100644
17 --- a/ufed-curses-checklist.c
18 +++ b/ufed-curses-checklist.c
19 @@ -450,6 +450,7 @@ static int callback(struct item **currentitem, int key) {
20 mvwaddch(win(Input), 0, minwidth, ACS_VLINE); // Before state
21 mvwaddch(win(Input), 0, minwidth + 3, ACS_VLINE); // Between state and scope
22 mvwaddch(win(Input), 0, minwidth + 6, ACS_VLINE); // After scope
23 + wmove(win(Input), 0, 0);
24 wrefresh(win(Input));
25 }
26 if(descriptionleft!=0 && key!=KEY_LEFT && key!=KEY_RIGHT) {
27
28 diff --git a/ufed-curses.c b/ufed-curses.c
29 index 997798b..f45b8e3 100644
30 --- a/ufed-curses.c
31 +++ b/ufed-curses.c
32 @@ -341,6 +341,7 @@ void draw() {
33 mvwaddch(w, 0, minwidth, ACS_VLINE); // Before state
34 mvwaddch(w, 0, minwidth + 3, ACS_VLINE); // Between state and scope
35 mvwaddch(w, 0, minwidth + 6, ACS_VLINE); // After scope
36 + wmove(w, 0, 0);
37 wnoutrefresh(w);
38
39 drawitems();
40 @@ -367,6 +368,7 @@ bool yesno(const char *prompt) {
41 mvwaddch(win(Input), 0, minwidth, ACS_VLINE); // Before state
42 mvwaddch(win(Input), 0, minwidth + 3, ACS_VLINE); // Between state and scope
43 mvwaddch(win(Input), 0, minwidth + 6, ACS_VLINE); // After scope
44 + wmove(win(Input), 0, 0);
45 waddstr(win(Input), prompt);
46 whline(win(Input), 'Y', 1);
47 wrefresh(win(Input));
48 @@ -381,6 +383,7 @@ bool yesno(const char *prompt) {
49 mvwaddch(win(Input), 0, minwidth, ACS_VLINE); // Before state
50 mvwaddch(win(Input), 0, minwidth + 3, ACS_VLINE); // Between state and scope
51 mvwaddch(win(Input), 0, minwidth + 6, ACS_VLINE); // After scope
52 + wmove(win(Input), 0, 0);
53 wnoutrefresh(win(Input));
54 wrefresh(win(List));
55 return FALSE;
56 @@ -401,6 +404,7 @@ bool yesno(const char *prompt) {
57 mvwaddch(win(Input), 0, minwidth, ACS_VLINE); // Before state
58 mvwaddch(win(Input), 0, minwidth + 3, ACS_VLINE); // Between state and scope
59 mvwaddch(win(Input), 0, minwidth + 6, ACS_VLINE); // After scope
60 + wmove(win(Input), 0, 0);
61 waddstr(win(Input), prompt);
62 whline(win(Input), 'Y', 1);
63 wrefresh(win(Input));