module

CRT::Ncurses::Justifications

Instance methods

justify_string(box_width : Int32, mesg_length : Int32, justify : Int32) : Int32

Returns the adjustment needed to fill the justification requirement for a string within a box of given width.

Source