         if(selectedCharIndex >= keyboardRows[selectedRowIndex].count) {
             selectedCharIndex = keyboardRows[selectedRowIndex].count - 1
         }
+        updateSelectionDisplay()
     }
     
     func shiftUp() {

    func createSymbolRow() -> [String] {
        return ["-", "_", "@"]
    }
}

        if(selectedRowIndex < 0) {
            selectedRowIndex = 0
        }
        updateSelectionDisplay()
    }
    
    func shiftDown() {
