mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-07 01:47:50 +00:00
Merge pull request #10324 from HiassofT/le13-readline-fix2
readline: add patch to fix crash in connmanctl and iwctl
This commit is contained in:
commit
e1b01b7a92
@ -0,0 +1,15 @@
|
||||
*** a/display.c Fri May 2 09:20:32 2025
|
||||
--- b/display.c Sun Jul 6 17:16:28 2025
|
||||
***************
|
||||
*** 784,788 ****
|
||||
/* Useful shorthand used by rl_redisplay, update_line, rl_move_cursor_relative */
|
||||
#define INVIS_FIRST() (local_prompt_invis_chars[0])
|
||||
! #define WRAP_OFFSET(line, offset) ((line <= prompt_last_screen_line) ? local_prompt_invis_chars[line] : 0)
|
||||
|
||||
#define W_OFFSET(line, offset) ((line) == 0 ? offset : 0)
|
||||
--- 784,788 ----
|
||||
/* Useful shorthand used by rl_redisplay, update_line, rl_move_cursor_relative */
|
||||
#define INVIS_FIRST() (local_prompt_invis_chars[0])
|
||||
! #define WRAP_OFFSET(line, offset) ((line <= prompt_last_screen_line && local_prompt_invis_chars) ? local_prompt_invis_chars[line] : 0)
|
||||
|
||||
#define W_OFFSET(line, offset) ((line) == 0 ? offset : 0)
|
Loading…
x
Reference in New Issue
Block a user