Mercurial > hg > octave-lyh
diff src/pr-output.cc @ 2926:66ef74ee5d9f
[project @ 1997-05-05 03:20:52 by jwe]
author | jwe |
---|---|
date | Mon, 05 May 1997 03:40:21 +0000 |
parents | 649549662cf6 |
children | 66a1cede95e7 |
line wrap: on
line diff
--- a/src/pr-output.cc +++ b/src/pr-output.cc @@ -35,12 +35,12 @@ #include "CMatrix.h" #include "Range.h" +#include "cmd-edit.h" #include "dMatrix.h" #include "lo-mappers.h" #include "mach-info.h" #include "oct-cmplx.h" #include "oct-math.h" -#include "oct-term.h" #include "str-vec.h" #include "defun.h" @@ -1146,7 +1146,7 @@ set_format (m, fw); int column_width = fw + 2; int total_width = nc * column_width; - int max_width = terminal_columns (); + int max_width = command_editor::terminal_cols (); if (pr_as_read_syntax) max_width -= 4; @@ -1299,7 +1299,7 @@ int column_width = i_fw + r_fw; column_width += (bank_format || hex_format|| bit_format) ? 2 : 7; int total_width = nc * column_width; - int max_width = terminal_columns (); + int max_width = command_editor::terminal_cols (); if (pr_as_read_syntax) max_width -= 4; @@ -1447,7 +1447,7 @@ { int column_width = fw + 2; int total_width = num_elem * column_width; - int max_width = terminal_columns (); + int max_width = command_editor::terminal_cols (); if (free_format) {