mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-13 20:44:35 +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 (ch >= 32 && ch < 127 && ch != 61) {
|
||||||
if (this->cursor < SCREEN_NAME_LEN - 1) {
|
if (this->cursor < SCREEN_NAME_LEN - 1) {
|
||||||
this->buffer[this->cursor] = ch;
|
this->buffer[this->cursor] = (char)ch;
|
||||||
this->cursor++;
|
this->cursor++;
|
||||||
super->selectedLen = strlen(this->buffer);
|
super->selectedLen = strlen(this->buffer);
|
||||||
Panel_setCursorToSelection(super);
|
Panel_setCursorToSelection(super);
|
||||||
|
Reference in New Issue
Block a user