Commit: 19cb7b8c8afb58981f932edb3bf0bfd7443f61f7
Parent: 8b21a74f2e473b88cadc8ad871c635ace969ee02
Author: Szymon Janc <szymon.janc@codecoup.pl>
Committer: Szymon Janc <szymon.janc@codecoup.pl>
Date: 2018-02-21 09:59:52
Tree: 345b5896ccee1e79bd5acbaa2f2701f414acd35e

shared/shell: Fix history display with no saved prompt Prompt needs to be restored always since default prompt is provided. This fix issues with history line being clobbered by offset of prompt length. [bluetooth]# connect 9C:5C:F9:AB:C5:82 Attempting to connect to 9C:5C:F9:AB:C5:82 [bluetooth]# disconnect 9C:5C:F9:AB:C5:82 Attempting to disconnect from 9C:5C:F9:AB:C5:82 Failed to connect: org.bluez.Error.Failed Successful disconnected [bluetooth]# discoverable on Changing discoverable on succeeded [CHG] Controller 5C:E0:C5:34:AE:1C Discoverable: yes [bluetooth]# disconnect discoverable on after pressing up-down [bluetooth]# disconnect dis5C:F9:AB:C5:82

Diffstat

M src/shared/shell.c | 11 ++++- - - - - - -

1 files changed, 4 insertions(+), 7 deletions(-)

View Full Diff | Patch