module Byebug::CommandFunctions

def pad_with_dots(string)


Pad a string with dots at the end to fit :width setting
#
def pad_with_dots(string)
  if string.size > Command.settings[:width]
    string[Command.settings[:width]-3 .. -1] = "..."
  end
end