[Asterisk-code-review] ASTERISK-24896 patch - send proper reset sequence when black... (asterisk[master])

dant asteriskteam at digium.com
Fri May 1 19:52:55 CDT 2015


dant has uploaded a new change for review.

  https://gerrit.asterisk.org/332

Change subject: ASTERISK-24896 patch - send proper reset sequence when black background is forced
......................................................................

ASTERISK-24896 patch - send proper reset sequence when black background is forced

Change-Id: I56323899123ae3264900389cae1f5b252aa3bf43
---
M main/term.c
1 file changed, 1 insertion(+), 2 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/32/332/1

diff --git a/main/term.c b/main/term.c
index a19c1f1..cf21719 100644
--- a/main/term.c
+++ b/main/term.c
@@ -311,8 +311,7 @@
 const char *ast_term_reset(void)
 {
 	if (ast_opt_force_black_background) {
-		static const char reset[] = { ESC, '[', COLOR_BLACK + 10, 'm', 0 };
-		return reset;
+		return enddata;
 	} else {
 		return quitdata;
 	}

-- 
To view, visit https://gerrit.asterisk.org/332
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I56323899123ae3264900389cae1f5b252aa3bf43
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: dant <d at tucny.com>



More information about the asterisk-code-review mailing list