summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xatari/toolbar.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/atari/toolbar.c b/atari/toolbar.c
index 1e0af87ef..081ef43b1 100755
--- a/atari/toolbar.c
+++ b/atari/toolbar.c
@@ -705,6 +705,10 @@ bool tb_url_input( struct gui_window * gw, short nkc )
scrap_txt_write( &app, text );
free( text );
}
+ }
+ else if( ik == KEY_ESCAPE ) {
+ textarea_keypress( tb->url.textarea, KEY_SELECT_ALL );
+ textarea_keypress( tb->url.textarea, KEY_DELETE_LEFT );
}
else {
ret = textarea_keypress( tb->url.textarea, ik );