mirror of
https://github.com/curl/curl.git
synced 2026-08-25 14:03:36 +03:00
curl: make warnings and other messages aware of terminal width
This removes unnecessary line wraps when the terminal is wider than 79 columns and it also makes messages look better in narrower terminals. The get_terminal_columns() function is not split out into its own source file. Suggested-by: Elliott Balsley Fixes #13804 Closes #13808
This commit is contained in:
parent
67b0692f09
commit
6946b3a799
7 changed files with 128 additions and 66 deletions
|
|
@ -31,6 +31,7 @@
|
|||
#include "tool_util.h"
|
||||
#include "tool_version.h"
|
||||
#include "tool_cb_prg.h"
|
||||
#include "terminal.h"
|
||||
|
||||
#include "memdebug.h" /* keep this as LAST include */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue