mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-13 12:44:34 +03:00

committed by
Nathan Scott

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);
|
||||
|
Reference in New Issue
Block a user