fix word wrapping

This commit is contained in:
2026-07-17 09:52:55 +02:00
parent 6f3ca3243a
commit 744cdcb733
4 changed files with 41 additions and 36 deletions

16
TODO.md
View File

@@ -6,18 +6,4 @@
- add datastream support:
https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-indices-get-data-stream
- Fix: cluster status word wrapping adds one \n to much:
```console
Bad health shards_availability This cluster has 1 unavailable replica shard.
-> cause Elasticsearch isn't allowed to allocate some shards from these indices to any of the nodes in the
cluster.
-> affected indices foo-t-log-logs-002947
-> suggested action to fix Diagnose the issue by calling the allocation explain API for an index [GET
_cluster/allocation/explain]. Choose a node to which you expect a shard to be allocated, find this
node in the node-by-node explanation, and address the reasons which prevent Elasticsearch from
```
- no color when stdout ! tty