Work around Gtk-related crashes

git-svn-id: file:///home/svn/framework3/trunk@5303 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2008-01-21 01:53:36 +00:00
parent 6046b9ac79
commit e27db6c17d
1 changed files with 3 additions and 0 deletions

View File

@ -36,6 +36,9 @@ class MsfWindow
end
def append_output(data='')
data = Rex::Text.to_unicode(data)
buff = self.buffer
buff.insert(buff.end_iter, data, "fixr")
buff.move_mark('end_mark', buff.end_iter)