3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-20 04:19:25 +01:00
iwd/client
James Prestwood dc6575130e client: fix missing character for line breaks without spaces
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).
2022-10-12 13:55:57 -05:00
..
ad-hoc.c client: update ad-hoc table header 2022-07-07 14:09:03 -05:00
adapter.c client: allow entity name to be passed to completion 2022-08-11 15:47:02 -05:00
agent-manager.c client: Rework agent registarion logic 2020-02-27 16:30:11 -06:00
agent-manager.h client: Rework agent registarion logic 2020-02-27 16:30:11 -06:00
agent.c client: make COLOR_* macros take a string input 2022-07-07 14:09:03 -05:00
agent.h treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
ap.c client: update ap to use display_table_row 2022-07-07 14:09:03 -05:00
command.c device: command: remove default device concept 2022-08-11 15:47:20 -05:00
command.h device: command: remove default device concept 2022-08-11 15:47:20 -05:00
daemon.c client: add a few return checks 2022-03-18 11:31:48 -05:00
daemon.h client: Print daemon information at startup 2021-10-25 17:24:51 -05:00
dbus-proxy.c device: command: remove default device concept 2022-08-11 15:47:20 -05:00
dbus-proxy.h client: add STATION_DEBUG_INTERFACE definition 2022-08-11 09:45:48 -05:00
device.c device: command: remove default device concept 2022-08-11 15:47:20 -05:00
device.h treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
diagnostic.c client: update station to use display_table_row 2022-07-07 14:09:03 -05:00
diagnostic.h client: Update copyrights 2021-01-25 10:46:07 -06:00
display.c client: fix missing character for line breaks without spaces 2022-10-12 13:55:57 -05:00
display.h client: make COLOR_* macros take a string input 2022-07-07 14:09:03 -05:00
dpp.c client: check NULL return for DPP cmd_show 2022-07-07 14:09:03 -05:00
iwctl.rst manpage: Add command options and examples for iwctl 2019-10-29 15:07:09 -05:00
known-networks.c client: allow entity name to be passed to completion 2022-08-11 15:47:02 -05:00
main.c client: handle wide chars for table rows 2022-10-12 11:26:01 -05:00
network.c client: Use include path from top source directory 2019-12-13 09:02:42 +01:00
network.h treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
properties.c client: Use include path from top source directory 2019-12-13 09:02:42 +01:00
properties.h client: Make variables extern 2020-01-27 09:47:40 -06:00
station-debug.c client: add station-debug command interface 2022-08-11 15:47:08 -05:00
station.c client: fix station autocomplete with multiple phys 2022-08-11 15:47:15 -05:00
wsc.c client: remove newline/tab encoding from help description 2022-07-07 14:09:03 -05:00