mirror of
https://github.com/xzeldon/htop.git
synced 2024-12-24 15:15:44 +00:00
fix CI issue
Signed-off-by: Sohaib Mohamed <sohaib.amhmd@gmail.com>
This commit is contained in:
parent
ba3a1df806
commit
4ef5e4296e
@ -46,7 +46,7 @@ static HandlerResult ScreensPanel_eventHandlerRenaming(Panel* super, int ch) {
|
||||
|
||||
if (ch >= 32 && ch < 127 && ch != 61) {
|
||||
if (this->cursor < SCREEN_NAME_LEN - 1) {
|
||||
this->buffer[this->cursor] = ch;
|
||||
this->buffer[this->cursor] = (char)ch;
|
||||
this->cursor++;
|
||||
super->selectedLen = strlen(this->buffer);
|
||||
Panel_setCursorToSelection(super);
|
||||
|
Loading…
Reference in New Issue
Block a user