You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the console code assumes that the escape character can be simply specified as a rune/char passed into the corresponding C function. But actually lxc_console() assumes that 1 == 'a', 2 == 'b' so you need something similar to this C function in go-lxc:
inline char etoc(const char c)
{
/* returns "control code" of given expression */
return 1 + ((c > 'Z') ? (c - 'a') : (c - 'Z'));
}
The text was updated successfully, but these errors were encountered:
Currently the console code assumes that the escape character can be simply specified as a rune/char passed into the corresponding C function. But actually
lxc_console()
assumes that1 == 'a', 2 == 'b'
so you need something similar to this C function in go-lxc:The text was updated successfully, but these errors were encountered: