mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-25 01:19:23 +01:00
dc6575130e
In nearly all cases the auto-line breaks can be on spaces in the string. The only exception (so far) is DPP which displays a very long URI without any spaces. When this is displayed a single character was lost on each break. This was due to the current line being NULL terminated prior to the next line string being returned. To handle both cases the next line is copied prior to terminating the current line. The offsets were modified slightly so the line will be broken *after* the space, not on the space. This leaves the space at the end of the current line which is invisible to the user but allows the no-space case to also work without loss of the last character (since that last character is where the space normally would be). |
||
---|---|---|
.. | ||
ad-hoc.c | ||
adapter.c | ||
agent-manager.c | ||
agent-manager.h | ||
agent.c | ||
agent.h | ||
ap.c | ||
command.c | ||
command.h | ||
daemon.c | ||
daemon.h | ||
dbus-proxy.c | ||
dbus-proxy.h | ||
device.c | ||
device.h | ||
diagnostic.c | ||
diagnostic.h | ||
display.c | ||
display.h | ||
dpp.c | ||
iwctl.rst | ||
known-networks.c | ||
main.c | ||
network.c | ||
network.h | ||
properties.c | ||
properties.h | ||
station-debug.c | ||
station.c | ||
wsc.c |