diff options
author | pgen <p.gen.progs@gmail.com> | 2019-03-14 22:42:55 +0100 |
---|---|---|
committer | pgen <p.gen.progs@gmail.com> | 2019-03-17 20:46:10 +0100 |
commit | a6c52c745432db01b8b4f66f4bdf6d0dc320f9f7 (patch) | |
tree | ae3078900ab0dd148f3b9f1f1ceb505da1b5724e | |
parent | 5d4d2db9308b7ab69fc1b6ea1667cc7e314b11f5 (diff) |
Add en empty line after the message
-rw-r--r-- | smenu.c | 6 | ||||
-rw-r--r-- | tests/message/t0001.good | 2 | ||||
-rw-r--r-- | tests/message/t0002.good | 2 | ||||
-rw-r--r-- | tests/message/t0003.good | 2 | ||||
-rw-r--r-- | tests/message/t0004.good | 2 | ||||
-rw-r--r-- | tests/message/t0005.good | 2 | ||||
-rw-r--r-- | tests/message/t0006.good | 2 | ||||
-rw-r--r-- | tests/message/t0007.good | 2 | ||||
-rw-r--r-- | tests/message/t0008.good | 2 | ||||
-rw-r--r-- | tests/timeout/t0001.good | 2 | ||||
-rw-r--r-- | tests/timeout/t0002.good | 2 | ||||
-rw-r--r-- | tests/timeout/t0003.good | 2 | ||||
-rw-r--r-- | tests/timeout/t0004.good | 2 | ||||
-rw-r--r-- | tests/timeout/t0005.good | 2 | ||||
-rw-r--r-- | tests/utf8/t0003.good | 2 | ||||
-rw-r--r-- | tests/utf8/t0004.good | 2 |
16 files changed, 36 insertions, 0 deletions
@@ -3583,6 +3583,12 @@ disp_message(ll_t * message_lines_list, long message_max_width, win->message_lines++; } + /* Add an empty line without attribute to separate the menu title */ + /* and the menu content. */ + /* """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" */ + puts(""); + win->message_lines++; + free(buf); /* Re-arm the periodic timer */ diff --git a/tests/message/t0001.good b/tests/message/t0001.good index 0f98a08..a0ae563 100644 --- a/tests/message/t0001.good +++ b/tests/message/t0001.good @@ -2,6 +2,8 @@ $ OUT=$(smenu -m xx -n 10 -M t0001.in) xx 37:01 38:01 + + 1 2 3 4 5 6 7 8 9 10 36:07 $ diff --git a/tests/message/t0002.good b/tests/message/t0002.good index 3c1868d..44cfebf 100644 --- a/tests/message/t0002.good +++ b/tests/message/t0002.good @@ -2,6 +2,8 @@ $ OUT=$(smenu -m test t0002.in) test 0:01 1:01 2:01 3:01 + + 1 2 3 4 5 6 7 8 9 10 0:07 $ diff --git a/tests/message/t0003.good b/tests/message/t0003.good index b81d6f0..4204441 100644 --- a/tests/message/t0003.good +++ b/tests/message/t0003.good @@ -2,6 +2,8 @@ $ OUT=$(smenu -M -l -m test t0003.in) test 36:01 37:01 38:01 39:01 + + 123456789 123456789 123456789 123456789 123456789 123456789 123456789→ 0:01 1:07 2:07 3:07 4:07 5:07 6:07 7:07 8:07 9:07 70:01 $ diff --git a/tests/message/t0004.good b/tests/message/t0004.good index 26ff664..b8d4c0d 100644 --- a/tests/message/t0004.good +++ b/tests/message/t0004.good @@ -6,6 +6,8 @@ $ OUT=$(smenu -M -m 'xx 36:01 37:01 38:01 39:01 yyyy 36:01 37:01 38:01 39:01 + + 1 2 3 4 5 6 7 8 9 10 28:07 $ diff --git a/tests/message/t0005.good b/tests/message/t0005.good index 97f3916..7c2ff89 100644 --- a/tests/message/t0005.good +++ b/tests/message/t0005.good @@ -2,6 +2,8 @@ $ OUT=$(smenu -M -m yyyy t0005.in) yyyy 36:01 37:01 38:01 39:01 + + 1 2 3 4 5 6 7 8 9 10 28:07 $ diff --git a/tests/message/t0006.good b/tests/message/t0006.good index 216d6f9..7ab8611 100644 --- a/tests/message/t0006.good +++ b/tests/message/t0006.good @@ -4,6 +4,8 @@ $ OUT=$(smenu -a m:r -M -m "123456789 123456789 123456789 123456789 \ 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 0:07 1:07 2:07 3:07 4:07 5:07 6:07 7:07 8:07 9:07 10:07 11:07 12:07 13:07 14:07 15:07 16:07 17:07 18:07 19:07 20:07 21:07 22:07 23:07 24:07 25:07 26:07 27:07 28:07 29:07 30:07 31:07 32:07 33:07 34:07 35:07 36:07 37:07 38:07 39:07 40:07 41:07 42:07 43:07 44:07 45:07 46:07 47:07 48:07 49:07 50:07 51:07 52:07 53:07 54:07 55:07 56:07 57:07 58:07 59:07 60:07 61:07 62:07 63:07 64:07 65:07 66:07 67:07 68:07 69:07 70:07 71:07 72:07 73:07 74:07 75:07 76:07 77:07 78:07 79:07 + + 1 2 3 4 5 6 7 8 9 10 28:07 $ diff --git a/tests/message/t0007.good b/tests/message/t0007.good index 31278d1..6b5a75f 100644 --- a/tests/message/t0007.good +++ b/tests/message/t0007.good @@ -4,6 +4,8 @@ $ OUT=$(smenu -m "123456789 123456789 123456789 123456789 \ 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 0:01 1:01 2:01 3:01 4:01 5:01 6:01 7:01 8:01 9:01 10:01 11:01 12:01 13:01 14:01 15:01 16:01 17:01 18:01 19:01 20:01 21:01 22:01 23:01 24:01 25:01 26:01 27:01 28:01 29:01 30:01 31:01 32:01 33:01 34:01 35:01 36:01 37:01 38:01 39:01 40:01 41:01 42:01 43:01 44:01 45:01 46:01 47:01 48:01 49:01 50:01 51:01 52:01 53:01 54:01 55:01 56:01 57:01 58:01 59:01 60:01 61:01 62:01 63:01 64:01 65:01 66:01 67:01 68:01 69:01 70:01 71:01 72:01 73:01 74:01 75:01 76:01 77:01 78:01 79:01 + + 1 2 3 4 5 6 7 8 9 10 0:07 $ diff --git a/tests/message/t0008.good b/tests/message/t0008.good index b958f7a..e0e0ee2 100644 --- a/tests/message/t0008.good +++ b/tests/message/t0008.good @@ -8,6 +8,8 @@ $ OUT=$(smenu -a m:7/5 -M \ 33:252d 34:252d 35:252d 36:252d 37:252d 38:252d =test= 33:252d 34:252d 35:252d 36:252d 37:252d 38:252d 39:252d 40:252d 41:252d 42:252d + + 1 2 3 4 5 6 7 8 9 10 28:07 $ diff --git a/tests/timeout/t0001.good b/tests/timeout/t0001.good index 341963a..7104bb6 100644 --- a/tests/timeout/t0001.good +++ b/tests/timeout/t0001.good @@ -2,6 +2,8 @@ $ OUT=$(smenu -x cur 5 -- t0001.in) [ 0s before selecting the current highlighted word] 0:01 1:01 2:01 3:01 4:01 5:01 6:01 7:01 8:01 9:01 10:01 11:01 12:01 13:01 14:01 15:01 16:01 17:01 18:01 19:01 20:01 21:01 22:01 23:01 24:01 25:01 26:01 27:01 28:01 29:01 30:01 31:01 32:01 33:01 34:01 35:01 36:01 37:01 38:01 39:01 40:01 41:01 42:01 43:01 44:01 45:01 46:01 47:01 48:01 49:01 50:01 51:01 52:01 53:01 + + a b c 2:07 $ diff --git a/tests/timeout/t0002.good b/tests/timeout/t0002.good index 01777c2..fbb984d 100644 --- a/tests/timeout/t0002.good +++ b/tests/timeout/t0002.good @@ -2,6 +2,8 @@ $ OUT=$(smenu -x cur 5 -- t0002.in) [ 0s before selecting the current highlighted word] 0:01 1:01 2:01 3:01 4:01 5:01 6:01 7:01 8:01 9:01 10:01 11:01 12:01 13:01 14:01 15:01 16:01 17:01 18:01 19:01 20:01 21:01 22:01 23:01 24:01 25:01 26:01 27:01 28:01 29:01 30:01 31:01 32:01 33:01 34:01 35:01 36:01 37:01 38:01 39:01 40:01 41:01 42:01 43:01 44:01 45:01 46:01 47:01 48:01 49:01 50:01 51:01 52:01 53:01 + + a b c 0:07 $ diff --git a/tests/timeout/t0003.good b/tests/timeout/t0003.good index cb47092..43c0626 100644 --- a/tests/timeout/t0003.good +++ b/tests/timeout/t0003.good @@ -2,6 +2,8 @@ $ OUT=$(smenu -x q 5 -- t0003.in) [ 0s before quitting without selecting anything] 0:01 1:01 2:01 3:01 4:01 5:01 6:01 7:01 8:01 9:01 10:01 11:01 12:01 13:01 14:01 15:01 16:01 17:01 18:01 19:01 20:01 21:01 22:01 23:01 24:01 25:01 26:01 27:01 28:01 29:01 30:01 31:01 32:01 33:01 34:01 35:01 36:01 37:01 38:01 39:01 40:01 41:01 42:01 43:01 44:01 45:01 46:01 47:01 48:01 49:01 50:01 + + a b c 2:07 $ diff --git a/tests/timeout/t0004.good b/tests/timeout/t0004.good index 76b3c1e..4480189 100644 --- a/tests/timeout/t0004.good +++ b/tests/timeout/t0004.good @@ -2,6 +2,8 @@ $ OUT=$(smenu -x w 'test\u21' 5 -- t0004.in) [ 0s before selecting the word "test!"] 0:01 1:01 2:01 3:01 4:01 5:01 6:01 7:01 8:01 9:01 10:01 11:01 12:01 13:01 14:01 15:01 16:01 17:01 18:01 19:01 20:01 21:01 22:01 23:01 24:01 25:01 26:01 27:01 28:01 29:01 30:01 31:01 32:01 33:01 34:01 35:01 36:01 37:01 38:01 39:01 40:01 41:01 + + a b c 2:07 $ diff --git a/tests/timeout/t0005.good b/tests/timeout/t0005.good index f7a9fb3..9942454 100644 --- a/tests/timeout/t0005.good +++ b/tests/timeout/t0005.good @@ -2,6 +2,8 @@ $ OUT=$(smenu -x cur 5 -- t0005.in) [ 3s before selecting the current highlighted word] 0:01 1:01 2:01 3:01 4:01 5:01 6:01 7:01 8:01 9:01 10:01 11:01 12:01 13:01 14:01 15:01 16:01 17:01 18:01 19:01 20:01 21:01 22:01 23:01 24:01 25:01 26:01 27:01 28:01 29:01 30:01 31:01 32:01 33:01 34:01 35:01 36:01 37:01 38:01 39:01 40:01 41:01 42:01 43:01 44:01 45:01 46:01 47:01 48:01 49:01 50:01 51:01 52:01 53:01 + + a b c 2:07 $ diff --git a/tests/utf8/t0003.good b/tests/utf8/t0003.good index 4c3237e..7dc2394 100644 --- a/tests/utf8/t0003.good +++ b/tests/utf8/t0003.good @@ -2,6 +2,8 @@ $ OUT=$(LC_ALL=C smenu -M -m «←→» t0003.in) .... 36:01 37:01 38:01 39:01 + + ... ... ... 33:07 34:07 35:07 $ diff --git a/tests/utf8/t0004.good b/tests/utf8/t0004.good index 7054993..1fa042a 100644 --- a/tests/utf8/t0004.good +++ b/tests/utf8/t0004.good @@ -2,6 +2,8 @@ $ OUT=$(LC_ALL=en_US.UTF-8 smenu -M -m «←→» t0003.in) «←→» 36:01 37:01 38:01 39:01 + + éé€ éé€ é€é 33:07 34:07 35:07 $ |