         @props.actions.setState(file_creation_error : '')
 
     search_submit: (value, opts) ->
-        if value[0] == TERM_MODE_CHAR
+        if value[0] == TERM_MODE_CHAR and not @props.public_view
             command = value.slice(1, value.length)
             @execute_command(command)
         else if @props.selected_file


    render : ->
        <Col sm=12>
            {@render_terminal_mode()}
            {<ListingHeader
                active_file_sort = {@props.active_file_sort}
                sort_by          = {@props.sort_by}

        selected_file_index: rtypes.number
        file_creation_error: rtypes.string
        num_files_displayed: rtypes.number
        public_view        : rtypes.bool.isRequired

    getDefaultProps: ->
        file_search : ''
