ESP-IDF
linenoiseState::buf
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (1/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
linenoiseState::buf
linenoiseState::buf field
Syntax
Show:
Summary
Declaration
from
linenoise.c:150
char
*
buf
;
Examples
References
from
examples
Code
Location
Referrer
char
*
buf
;
/* Edited line buffer. */
linenoise.c:150
completionCallback
(
ls
->
buf
,
&
lc
)
;
linenoise.c:389
completeLine()
ls
->
buf
=
lc
.
cvec
[
i
]
;
linenoise.c:401
completeLine()
ls
->
buf
=
saved
.
buf
;
linenoise.c:405
completeLine()
nwritten
=
snprintf
(
ls
->
buf
,
ls
->
buflen
,
"%s"
,
lc
.
cvec
[
i
]
)
;
linenoise.c:429
completeLine()
char
*
hint
=
hintsCallback
(
l
->
buf
,
&
color
,
&
bold
)
;
linenoise.c:514
refreshShowHints()
char
*
buf
=
l
->
buf
;
linenoise.c:541
refreshSingleLine()
abAppend
(
&
ab
,
l
->
buf
,
l
->
len
)
;
linenoise.c:617
refreshMultiLine()
l
->
buf
[
l
->
pos
]
=
c
;
linenoise.c:680
linenoiseEditInsert()
l
->
buf
[
l
->
len
]
=
'\0'
;
linenoise.c:683
linenoiseEditInsert()
memmove
(
l
->
buf
+
l
->
pos
+
1
,
l
->
buf
+
l
->
pos
,
l
->
len
-
l
->
pos
)
;
linenoise.c:695
linenoiseEditInsert()
l
->
buf
[
l
->
pos
]
=
c
;
linenoise.c:696
linenoiseEditInsert()
l
->
buf
[
l
->
len
]
=
'\0'
;
linenoise.c:699
linenoiseEditInsert()
l
->
buf
[
l
->
pos
]
=
c
;
linenoise.c:709
linenoiseInsertPastedChar()
l
->
buf
[
l
->
len
]
=
'\0'
;
linenoise.c:712
linenoiseInsertPastedChar()
history
[
history_len
-
1
-
l
->
history_index
]
=
strdup
(
l
->
buf
)
;
linenoise.c:762
linenoiseEditHistoryNext()
strncpy
(
l
->
buf
,
history
[
history_len
-
1
-
l
->
history_index
]
,
l
->
buflen
)
;
linenoise.c:772
linenoiseEditHistoryNext()
l
->
buf
[
l
->
buflen
-
1
]
=
'\0'
;
linenoise.c:773
linenoiseEditHistoryNext()
l
->
len
=
l
->
pos
=
strlen
(
l
->
buf
)
;
linenoise.c:774
linenoiseEditHistoryNext()
memmove
(
l
->
buf
+
l
->
pos
,
l
->
buf
+
l
->
pos
+
1
,
l
->
len
-
l
->
pos
-
1
)
;
linenoise.c:783
linenoiseEditDelete()
l
->
buf
[
l
->
len
]
=
'\0'
;
linenoise.c:785
linenoiseEditDelete()
memmove
(
l
->
buf
+
l
->
pos
-
1
,
l
->
buf
+
l
->
pos
,
l
->
len
-
l
->
pos
)
;
linenoise.c:793
linenoiseEditBackspace()
l
->
buf
[
l
->
len
]
=
'\0'
;
linenoise.c:796
linenoiseEditBackspace()
while
(
l
->
pos
>
0
&&
l
->
buf
[
l
->
pos
-
1
]
==
' '
)
linenoise.c:807
linenoiseEditDeletePrevWord()
while
(
l
->
pos
>
0
&&
l
->
buf
[
l
->
pos
-
1
]
!=
' '
)
linenoise.c:809
linenoiseEditDeletePrevWord()
memmove
(
l
->
buf
+
l
->
pos
,
l
->
buf
+
old_pos
,
l
->
len
-
old_pos
+
1
)
;
linenoise.c:812
linenoiseEditDeletePrevWord()
l
.
buf
=
buf
;
linenoise.c:857
linenoiseEdit()
l
.
buf
[
0
]
=
'\0'
;
linenoise.c:868
linenoiseEdit()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
linenoiseState::buf
is written by 2 functions and is read by 11 functions:
completeLine()
linenoiseEdit()
All items filtered out
linenoiseState::buf
completeLine()
refreshShowHints()
refreshSingleLine()
refreshMultiLine()
linenoiseEditInsert()
linenoiseInsertPastedChar()
linenoiseEditHistoryNext()
linenoiseEditDelete()
linenoiseEditBackspace()
linenoiseEditDeletePrevWord()
linenoiseEdit()
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out