Skip to content

Commit 8489485

Browse files
David MaloneyDavid Maloney
authored andcommitted
move Rex::Ui::Text::Color out to rex::text gem
moved the text ansi color library out to the rex-text gem MS-1875
1 parent 09ad342 commit 8489485

File tree

6 files changed

+7
-114
lines changed

6 files changed

+7
-114
lines changed

lib/rex/ropbuilder/rop.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
require 'rex/compat'
44
require 'rex/text/table'
55
require 'rex/ui/text/output/stdio'
6-
require 'rex/ui/text/color'
6+
require 'rex/text/color'
77

88
module Rex
99
module RopBuilder

lib/rex/ui.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
require 'rex/ui/text/dispatcher_shell'
1515
require 'rex/ui/text/irb_shell'
1616

17-
require 'rex/ui/text/color'
17+
require 'rex/text/color'
1818
require 'rex/text/table'
1919

2020
# Ui subscriber

lib/rex/ui/text/color.rb

Lines changed: 0 additions & 107 deletions
This file was deleted.

lib/rex/ui/text/input.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ class Input
1818
require 'rex/ui/text/input/readline'
1919
require 'rex/ui/text/input/socket'
2020
require 'rex/ui/text/input/buffer'
21-
require 'rex/ui/text/color'
21+
require 'rex/text/color'
2222

23-
include Rex::Ui::Text::Color
23+
include Rex::Text::Color
2424

2525
def initialize
2626
self.eof = false

lib/rex/ui/text/output.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ class Output < Rex::Ui::Output
1818
require 'rex/ui/text/output/buffer'
1919
require 'rex/ui/text/output/file'
2020
require 'rex/ui/text/output/tee'
21-
require 'rex/ui/text/color'
21+
require 'rex/text/color'
2222

23-
include Rex::Ui::Text::Color
23+
include Rex::Text::Color
2424

2525
def initialize
2626
@config = {

msfrop

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ $:.unshift(ENV['MSF_LOCAL_LIB']) if ENV['MSF_LOCAL_LIB']
2323
require 'rex'
2424
require 'rex/ropbuilder'
2525
require 'rex/ui/text/output/stdio'
26-
require 'rex/ui/text/color'
26+
require 'rex/text/color'
2727
require 'optparse'
2828

2929
def opt2i(o)

0 commit comments

Comments
 (0)