Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LibertyOS-Development/kernel
/ echo_on
Function
echo_on
src/sys/console.rs:265–269 ·
view source on GitHub ↗
Enable echo
()
Source
from the content-addressed store, hash-verified
263
264
// Enable echo
265
pub fn echo_on()
266
{
267
let mut echo = ECHO.lock();
268
*echo = true;
269
}
270
271
272
// Checks whether or not echo has been enabled
Callers
1
readchar
Function · 0.85
Calls
1
lock
Method · 0.80
Tested by
no test coverage detected